类的使用
org.antlr.tool.Attribute
-
使用Attribute的程序包 程序包 说明 org.antlr.grammar.v3 org.antlr.tool -
-
org.antlr.grammar.v3中Attribute的使用
返回Attribute的org.antlr.grammar.v3中的方法 修饰符和类型 方法 说明 Attribute
ActionTranslator. getRuleLabelAttribute(java.lang.String ruleName, java.lang.String attrName)
For $rulelabel.name, return the Attribute found for name. -
org.antlr.tool中Attribute的使用
类型参数类型为Attribute的org.antlr.tool中的字段 修饰符和类型 字段 说明 protected java.util.LinkedHashMap<java.lang.String,Attribute>
AttributeScope. attributes
The list of Attribute objects返回Attribute的org.antlr.tool中的方法 修饰符和类型 方法 说明 Attribute
AttributeScope. getAttribute(java.lang.String name)
Attribute
RuleLabelScope. 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.返回变量类型为Attribute的类型的org.antlr.tool中的方法 修饰符和类型 方法 说明 java.util.List<Attribute>
AttributeScope. getAttributes()
Used by templates to get all attributes参数类型为Attribute的org.antlr.tool中的方法 修饰符和类型 方法 说明 void
NameSpaceChecker. checkForRuleScopeAttributeConflict(Rule r, Attribute attribute)
Check for collision of a rule-scope dynamic attribute with: arg, return value, rule name itself.
-