程序包 org.antlr.tool
类 RuleLabelScope
- java.lang.Object
-
- org.antlr.tool.AttributeScope
-
- org.antlr.tool.RuleLabelScope
-
public class RuleLabelScope extends AttributeScope
-
-
字段概要
字段 修饰符和类型 字段 说明 static AttributeScope[]
grammarTypeToRulePropertiesScope
static AttributeScope
predefinedLexerRulePropertiesScope
static AttributeScope
predefinedRulePropertiesScope
Rules have a predefined set of attributes as well as the return values.static AttributeScope
predefinedTreeRulePropertiesScope
Rule
referencedRule
-
构造器概要
构造器 构造器 说明 RuleLabelScope(Rule referencedRule, Token actionToken)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Attribute
getAttribute(java.lang.String name)
If you label a rule reference, you can access that rule's return values as well as any predefined attributes.-
从类继承的方法 org.antlr.tool.AttributeScope
addAttribute, addAttributes, defineNamedAction, getAttributes, getName, intersection, size, toString
-
-
-
-
字段详细资料
-
predefinedRulePropertiesScope
public static AttributeScope predefinedRulePropertiesScope
Rules have a predefined set of attributes as well as the return values. 'text' needs to be computed though so.
-
predefinedTreeRulePropertiesScope
public static AttributeScope predefinedTreeRulePropertiesScope
-
predefinedLexerRulePropertiesScope
public static AttributeScope predefinedLexerRulePropertiesScope
-
grammarTypeToRulePropertiesScope
public static AttributeScope[] grammarTypeToRulePropertiesScope
-
referencedRule
public Rule referencedRule
-
-
方法详细资料
-
getAttribute
public Attribute getAttribute(java.lang.String name)
If you label a rule reference, you can access that rule's return values as well as any predefined attributes.- 覆盖:
getAttribute
在类中AttributeScope
-
-