org.antlr.tool
Class Grammar.LabelElementPair
java.lang.Object
org.antlr.tool.Grammar.LabelElementPair
- Enclosing class:
- Grammar
public class Grammar.LabelElementPair
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
label
public antlr.Token label
elementRef
public GrammarAST elementRef
referencedRuleName
public java.lang.String referencedRuleName
actionReferencesLabel
public boolean actionReferencesLabel
- Has an action referenced the label? Set by ActionAnalysis.g
Currently only set for rule labels.
type
public int type
Grammar.LabelElementPair
public Grammar.LabelElementPair(antlr.Token label,
GrammarAST elementRef)
getReferencedRule
public Rule getReferencedRule()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object