Package | Description |
---|---|
org.antlr.grammar.v3 | |
org.antlr.tool |
Modifier and Type | Method and Description |
---|---|
Attribute |
ActionTranslator.getRuleLabelAttribute(String ruleName,
String attrName)
For $rulelabel.name, return the Attribute found for name.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedHashMap<String,Attribute> |
AttributeScope.attributes
The list of Attribute objects
|
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeScope.getAttribute(String name) |
Attribute |
RuleLabelScope.getAttribute(String name)
If you label a rule reference, you can access that rule's
return values as well as any predefined attributes.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AttributeScope.getAttributes()
Used by templates to get all attributes
|
Modifier and Type | Method and Description |
---|---|
void |
NameSpaceChecker.checkForRuleScopeAttributeConflict(Rule r,
Attribute attribute)
Check for collision of a rule-scope dynamic attribute with:
arg, return value, rule name itself.
|
Copyright © 2020. All rights reserved.