On the semantics of SUPER,

Park SungWoo (gladius@compiler.kaist.ac.kr)
Sat, 24 May 1997 17:40:36 +0900 (KST)

Hi,

Could you please explain the semantics of 'SUPER' in a CLASS
definition. I think, we should specify the degree of inheritance of
fields before defining the semantics of 'SUPER'.
For example,

CLASS A [.. field X ..]
{ ... }

CLASS B [.. field Y ..]
{ A { X IS Y } }

CLASS C [.. field Y ..]
{ A { SUPER.X IS Y } }

Are both of classes B and C conforming to the syntax ?

I couldn't find the reasonable semantics of 'SUPER' keyword.
I wish that we discuss much more on this matter.

Thank you.

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 Sungwoo Park, (Castle-Help Naive)
	homepage : http://compiler.kaist.ac.kr/~gladius
 	e-mail : gladius@compiler.kaist.ac.kr
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -