程序包 org.antlr.tool
类 Grammar.LabelElementPair
- java.lang.Object
-
- org.antlr.tool.Grammar.LabelElementPair
-
- 封闭类:
- Grammar
public class Grammar.LabelElementPair extends java.lang.Object
-
-
字段概要
字段 修饰符和类型 字段 说明 boolean
actionReferencesLabel
Has an action referenced the label? Set by ActionAnalysis.g Currently only set for rule labels.GrammarAST
elementRef
Token
label
java.lang.String
referencedRuleName
int
type
-
构造器概要
构造器 构造器 说明 LabelElementPair(Token label, GrammarAST elementRef)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Rule
getReferencedRule()
java.lang.String
toString()
-
-
-
字段详细资料
-
label
public 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
-
-
构造器详细资料
-
LabelElementPair
public LabelElementPair(Token label, GrammarAST elementRef)
-
-
方法详细资料
-
getReferencedRule
public Rule getReferencedRule()
-
toString
public java.lang.String toString()
- 覆盖:
toString
在类中java.lang.Object
-
-