next up previous
Next: Ambiguous names Up: Disambiguating names Previous: Expression names

Method names

Method names[11]:
RULE: MethodName ::= Name $pMethodName COMPUTE
  pMethodName.GENTREE=TP_tpMethodName(Name.tp);
END;

RULE smthnm: pMethodName ::= sMethIdUse END;
RULE qmthnm: pMethodName ::= pAmbiguousName qMethIdUse END;

RULE smthid: sMethIdUse ::= Identifier END;
RULE qmthid: qMethIdUse ::= Identifier END;
This macro is invoked in definition 3.

Tree parsing rules[12]:
tpMethodName ::= tpId(int): mksmthnm;
tpMethodName ::= tpDot(tpAmbiguousName,int): mkqmthnm;
This macro is defined in definitions 5, 9, 12, 15, and 19.
This macro is invoked in definition 18.

Tree parsing actions[13]:
#define mksmthnm(x)\
  Mksmthnm(NoPosition,Mksmthid(NoPosition,x))
#define mkqmthnm(x,y)\
  Mkqmthnm(NoPosition,x,Mkqmthid(NoPosition,y))
This macro is defined in definitions 6, 10, 13, and 16.
This macro is invoked in definition 21.



2008-09-11