...
Attribute refs in actions:
...
DONE:
- UNKNOWN_SIMPLE_ATTRIBUTE(arg,arg2args2) ::= "unknown or invalid action scope for <arg2> grammarattribute is not a token, parameter, or return value: <arg>"
TODO:
- ATTRIBUTE_REF_NOT_IN_RULE(arg,arg2) ::= "reference to attribute outside of a rule: <arg><if(arg2)>.<arg2><endif>"
- UNKNOWN_ATTRIBUTE_IN_SCOPE(arg,arg2) ::= "unknown attribute for <arg>: <arg2>"
- UNKNOWN_RULE_ATTRIBUTE(arg,arg2) ::= "unknown attribute for rule <arg>: <arg2>"UNKNOWN_SIMPLE_ATTRIBUTE(arg,args2) ::= "attribute is not a token, parameter, or return value: <arg>"
- ISOLATED_RULE_SCOPE(arg) ::= "missing attribute access on rule scope: <arg>"
- INVALID_RULE_PARAMETER_REF(arg,arg2) ::= "cannot access rule <arg>'s parameter: <arg2>"
- INVALID_RULE_SCOPE_ATTRIBUTE_REF(arg,arg2) ::= "cannot access rule <arg>'s dynamically-scoped attribute: <arg2>"
- WRITE_TO_READONLY_ATTR(arg,arg2,arg3) ::= "cannot write to read only attribute: $<arg><if(arg2)>.<arg2><endif>"
- NONUNIQUE_REF(arg) ::= "<arg> is a non-unique reference"
- FORWARD_ELEMENT_REF(arg) ::= "illegal forward reference: <arg>"
- UNKNOWN_DYNAMIC_SCOPE(arg) ::= "unknown dynamic scope: <arg>"
- UNKNOWN_DYNAMIC_SCOPE_ATTRIBUTE(arg,arg2) ::= "unknown dynamically-scoped attribute for scope <arg>: <arg2>"
- ISOLATED_RULE_ATTRIBUTE(arg) ::= "reference to locally-defined rule scope attribute without rule name: <arg>"
- INVALID_TEMPLATE_ACTION(arg) ::= "invalid StringTemplate % shorthand syntax: '<arg>'"
- RULE_REF_AMBIG_WITH_RULE_IN_ALT??
...