Package | Description |
---|---|
org.antlr.v4.codegen.model.decl | |
org.antlr.v4.parse | |
org.antlr.v4.tool |
Modifier and Type | Method and Description |
---|---|
void |
StructDecl.addDecl(Attribute a) |
Modifier and Type | Method and Description |
---|---|
void |
StructDecl.addDecls(Collection<Attribute> attrList) |
Constructor and Description |
---|
AttributeDecl(OutputModelFactory factory,
Attribute a) |
Modifier and Type | Method and Description |
---|---|
static Attribute |
ScopeParser.parseAttributeDef(ActionAST action,
Pair<String,Integer> decl,
Grammar g)
For decls like "String foo" or "char *foo32[]" compute the ID
and type declarations.
|
Modifier and Type | Method and Description |
---|---|
static Pair<Integer,Integer> |
ScopeParser._parsePostfixDecl(Attribute attr,
String decl,
ActionAST a,
Grammar g) |
static Pair<Integer,Integer> |
ScopeParser._parsePrefixDecl(Attribute attr,
String decl,
ActionAST a,
Grammar g) |
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 |
Alternative.resolveToAttribute(String x,
ActionAST node)
$x Attribute: rule arguments, return values, predefined rule prop.
|
Attribute |
AttributeResolver.resolveToAttribute(String x,
ActionAST node) |
Attribute |
Grammar.resolveToAttribute(String x,
ActionAST node) |
Attribute |
Rule.resolveToAttribute(String x,
String y,
ActionAST node)
$x.y Attribute: x is surrounding rule, label ref (in any alts)
|
Attribute |
Alternative.resolveToAttribute(String x,
String y,
ActionAST node)
$x.y, x can be surrounding rule, token/rule/label ref.
|
Attribute |
AttributeResolver.resolveToAttribute(String x,
String y,
ActionAST node) |
Attribute |
Grammar.resolveToAttribute(String x,
String y,
ActionAST node) |
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeDict.add(Attribute a) |
Copyright © 1992–2020 ANTLR. All rights reserved.