next up previous
Next: Parameter and variable declarations Up: Scope of a simple Previous: Member declarations

Anonymous classes

Scopes[19]:

TREE SYMBOL TypeIdUse INHERITS IdentOcc, TypQualIdUse END;

RULE: Expression ::=
  Expression '.' 'new' TypeIdUse '(' Arguments ')' AnonymousClass
COMPUTE
  TypeIdUse.TypScopeKey=Expression[2].Type;
  TypeIdUse.Key=TypeIdUse.TypKey;
END;

SYMBOL AnonymousClass INHERITS TypRangeScope, FldRangeScope, MthRangeScope
END;
This macro is defined in definitions 11, 12, 14, 15, 16, 17, 18, 19, and 20.
This macro is invoked in definition 2.



2008-09-11