Next: Syntactic Replacements
Up: Programs
Previous: Class and Type Specifiers
An inheritance clause may be accompanied by modifications id
method type
or id method type
. The first of these says that the feature id of the given
method type is
undefined within the subclass C, i.e. it is not inherited from
the superclass D; the second says that id is renamed as id'
before it is inserted into C. The method type may be
omitted if no ambiguity arises.
An include inheritance clause may also have the form include D ::
id method type or include D :: id method type
. In this case only the feature id from D is reused (and
possibly renamed). The inheritance clause may be preceded by the
keywort private; in
this case all the included features are private, cf. 5.1.
Martin Trapp
Mon Feb 17 16:49:16 MET 1997