| Package | Description |
|---|---|
| org.antlr.v4.codegen.model | |
| org.antlr.v4.codegen.model.decl | |
| org.antlr.v4.parse | |
| org.antlr.v4.tool |
| Modifier and Type | Field and Description |
|---|---|
Collection<Attribute> |
RuleFunction.args |
| Modifier and Type | Field and Description |
|---|---|
Collection<Attribute> |
StructDecl.ctorAttrs |
| Modifier and Type | Method and Description |
|---|---|
void |
StructDecl.addDecl(Attribute a) |
| Modifier and Type | Method and Description |
|---|---|
void |
StructDecl.addDecls(Collection<Attribute> attrList) |
| Modifier and Type | Method and Description |
|---|---|
static Attribute |
ScopeParser.parseAttributeDef(ActionAST action,
Pair<String,Integer> decl,
ErrorManager errMgr)
For decls like "String foo" or "char *foo32[]" compute the ID
and type declarations.
|
| Modifier and Type | Field and Description |
|---|---|
LinkedHashMap<String,Attribute> |
AttributeDict.attributes
The list of
Attribute objects. |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
AttributeDict.add(Attribute a) |
Attribute |
AttributeDict.get(String name) |
Attribute |
Rule.resolveRetvalOrProperty(String y) |
Attribute |
Rule.resolveToAttribute(String x,
ActionAST node)
$x Attribute: rule arguments, return values, predefined rule prop.
|
Attribute |
Grammar.resolveToAttribute(String x,
ActionAST node) |
Attribute |
AttributeResolver.resolveToAttribute(String x,
ActionAST node) |
Attribute |
Alternative.resolveToAttribute(String x,
ActionAST node)
$x Attribute: rule arguments, return values, predefined rule prop.
|
Attribute |
Rule.resolveToAttribute(String x,
String y,
ActionAST node)
$x.y Attribute: x is surrounding rule, label ref (in any alts)
|
Attribute |
Grammar.resolveToAttribute(String x,
String y,
ActionAST node) |
Attribute |
AttributeResolver.resolveToAttribute(String x,
String y,
ActionAST node) |
Attribute |
Alternative.resolveToAttribute(String x,
String y,
ActionAST node)
$x.y, x can be surrounding rule, token/rule/label ref.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
AttributeDict.add(Attribute a) |
Copyright © 1992-2013 ANTLR. All Rights Reserved.