Methods in antlr.preprocessor with parameters of type Rule |
boolean |
Rule.narrowerVisibility(Rule rule)
If 'rule' narrows the visible of 'this', return true;
For example, 'this' is public and 'rule' is private,
true is returned. |
boolean |
Rule.sameSignature(Rule rule)
Two rules have the same signature if they have:
same name
same return value
same args
I do a simple string compare now, but later
the type could be pulled out so it is insensitive
to names of args etc... |
void |
Grammar.addRule(Rule r)
|
void |
Grammar.inherit(Rule r,
Grammar superG)
|