Package org.antlr.tool
Class Grammar.LabelElementPair
- java.lang.Object
-
- org.antlr.tool.Grammar.LabelElementPair
-
-
Field Summary
Fields Modifier and Type Field Description boolean
actionReferencesLabel
Has an action referenced the label? Set by ActionAnalysis.g Currently only set for rule labels.GrammarAST
elementRef
org.antlr.runtime.Token
label
String
referencedRuleName
int
type
-
Constructor Summary
Constructors Constructor Description LabelElementPair(org.antlr.runtime.Token label, GrammarAST elementRef)
-
-
-
Field Detail
-
label
public org.antlr.runtime.Token label
-
elementRef
public GrammarAST elementRef
-
referencedRuleName
public 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
-
-
Constructor Detail
-
LabelElementPair
public LabelElementPair(org.antlr.runtime.Token label, GrammarAST elementRef)
-
-