|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rule | |
---|---|
org.antlr.codegen | |
org.antlr.tool |
Uses of Rule in org.antlr.codegen |
---|
Methods in org.antlr.codegen with parameters of type Rule | |
---|---|
void |
CodeGenerator.issueInvalidAttributeError(java.lang.String x,
Rule enclosingRule,
antlr.Token actionToken,
int outerAltNum)
|
void |
CodeGenerator.issueInvalidAttributeError(java.lang.String x,
java.lang.String y,
Rule enclosingRule,
antlr.Token actionToken,
int outerAltNum)
|
void |
CodeGenerator.issueInvalidScopeError(java.lang.String x,
java.lang.String y,
Rule enclosingRule,
antlr.Token actionToken,
int outerAltNum)
|
protected void |
CodeGenerator.translateActionAttributeReferencesForSingleScope(Rule r,
java.util.Map scopeActions)
Use for translating rule @init{...} actions that have no scope |
Uses of Rule in org.antlr.tool |
---|
Fields in org.antlr.tool declared as Rule | |
---|---|
Rule |
RuleLabelScope.referencedRule
|
Methods in org.antlr.tool that return Rule | |
---|---|
Rule |
Grammar.LabelElementPair.getReferencedRule()
|
Rule |
Grammar.getRule(java.lang.String ruleName)
|
Methods in org.antlr.tool with parameters of type Rule | |
---|---|
protected void |
NameSpaceChecker.checkForLabelConflict(Rule r,
antlr.Token label)
Make sure a label doesn't conflict with another symbol. |
boolean |
NameSpaceChecker.checkForLabelTypeMismatch(Rule r,
antlr.Token label,
int type)
If type of previous label differs from new label's type, that's an error. |
protected void |
NameSpaceChecker.checkForRuleArgumentAndReturnValueConflicts(Rule r)
|
protected void |
NameSpaceChecker.checkForRuleDefinitionProblems(Rule r)
|
void |
NameSpaceChecker.checkForRuleScopeAttributeConflict(Rule r,
Attribute attribute)
Check for collision of a rule-scope dynamic attribute with: arg, return value, rule name itself. |
protected void |
Grammar.defineLabel(Rule r,
antlr.Token label,
GrammarAST element,
int type)
Define a label defined in a rule r; check the validity then ask the Rule object to actually define it. |
void |
DefineGrammarItemsWalker.ruleAction(AST _t,
Rule r)
|
void |
DefineGrammarItemsWalker.ruleScopeSpec(AST _t,
Rule r)
|
Constructors in org.antlr.tool with parameters of type Rule | |
---|---|
RuleLabelScope(Rule referencedRule,
Token actionToken)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |