next up previous
Next: Field access Up: Expressions Previous: Expressions

Method invocation expressions

Method invocation expressions[27]:
RULE: Expression ::= MethodName '(' Arguments ')' COMPUTE
  IF(AND(NE(MethodName.Key,NoKey),BadOperator),
    message(ERROR,"Invalid method call",0,COORDREF));
END;

RULE: Expression ::= 'super' '.' MethodIdUse '(' Arguments ')' COMPUTE
  IF(AND(NE(MethodIdUse.Key,NoKey),BadOperator),
    message(ERROR,"Invalid method call",0,COORDREF));
END;

RULE: Expression ::= Expression '.' MethodIdUse '(' Arguments ')' COMPUTE
  IF(AND(NE(MethodIdUse.Key,NoKey),BadOperator),
    message(ERROR,"Invalid method call",0,COORDREF));
END;
This macro is invoked in definition 26.



2008-09-11