Package | Description |
---|---|
org.antlr.grammar.v3 | |
org.antlr.tool |
Modifier and Type | Method | Description |
---|---|---|
Attribute |
ActionTranslator.getRuleLabelAttribute(String ruleName,
String attrName) |
For $rulelabel.name, return the Attribute found for name.
|
Modifier and Type | Field | Description |
---|---|---|
protected LinkedHashMap<String,Attribute> |
AttributeScope.attributes |
The list of Attribute objects
|
Modifier and Type | Method | 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 | Description |
---|---|---|
List<Attribute> |
AttributeScope.getAttributes() |
Used by templates to get all attributes
|
Modifier and Type | Method | 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 © 1992–2019 ANTLR. All rights reserved.