| Package | Description |
|---|---|
| org.antlr.v4.codegen | |
| org.antlr.v4.codegen.model | |
| org.antlr.v4.codegen.model.decl |
| Modifier and Type | Method and Description |
|---|---|
Decl |
DefaultOutputModelFactory.getCurrentDeclForName(String
|
Decl |
ParserFactory.getTokenLabelDecl(String
|
| Modifier and Type | Field and Description |
|---|---|
Decl |
Choice.label
|
Decl |
AddToLabelList.label
|
| Modifier and Type | Field and Description |
|---|---|
List |
MatchToken.labels
|
| Modifier and Type | Method and Description |
|---|---|
List |
RuleFunction.getDeclForAltElement(GrammarAST
|
Set |
RuleFunction.getDeclsForAllElements(List
for all alts, find which ref X or r needs List Must see across alts.
|
List |
MatchToken.getLabels()
|
List |
InvokeRule.getLabels()
|
List |
LabeledOp.getLabels()
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuleFunction.addContextDecl(String
Add decl to struct ctx for rule or alt if labeled
|
void |
RuleFunction.addLocalDecl(Decl
Add local var decl
|
| Constructor and Description | |
|---|---|
AddToLabelList(OutputModelFactory
|
| Modifier and Type | Class and Description |
|---|---|
class |
AltLabelStructDecl
A StructDecl to handle a -> label on alt
|
class |
AttributeDecl
|
class |
ContextGetterDecl
|
class |
ContextRuleGetterDecl
public XContext X() { }
|
class |
ContextRuleListGetterDecl
public List<XContext> X() { } public XContext X(int i) { }
|
class |
ContextRuleListIndexedGetterDecl
|
class |
ContextTokenGetterDecl
public Token X() { }
|
class |
ContextTokenListGetterDecl
public List<Token> X() { } public Token X(int i) { }
|
class |
ContextTokenListIndexedGetterDecl
|
class |
ElementListDecl
|
class |
RuleContextDecl
|
class |
RuleContextListDecl
|
class |
StructDecl
This object models the structure holding all of the parameters, return values, local variables, and labels associated with a rule.
|
class |
TokenDecl
x=ID or implicit _tID label
|
class |
TokenListDecl
|
class |
TokenTypeDecl
|
| Modifier and Type | Method and Description |
|---|---|
void |
StructDecl.addDecl(Decl
|
void |
CodeBlock.addLocalDecl(Decl
Add local var decl
|