The <tt>PARENTCLASS</tt> Statement



next up previous contents
Next: Type Expressions Up: C.3 The VOOPS Syntax Previous: The DEFCLASS Statement

The PARENTCLASS Statement

 

The parent class of the current class is declared with this statement which must appear inside a class definition (i.e. between an enclosing DEFCLASS - ENDCLASS pair). The class symbol name is searched in the class association list and, if found, is recorded as the parent class of the current class in the class association list and its member declarations are generated. Otherwise an appropriate error is issued. Since name may be an alias class (see ENDCLASS), possible aliases are searched too, and in case an alias is found, name set to the genuine class instead of the alias.



Martin Stiftinger
Tue Nov 29 19:41:50 MET 1994