| Package | Description |
|---|---|
| org.antlr.v4.codegen | |
| org.antlr.v4.codegen.model | |
| org.antlr.v4.codegen.model.decl |
| Modifier and Type | Class and Description |
|---|---|
class |
Wildcard
|
| Modifier and Type | Field and Description |
|---|---|
List |
SourceGenTriggers.alternative_return.ops
|
List |
SourceGenTriggers.alt_return.ops
|
| Modifier and Type | Method and Description |
|---|---|
List |
BlankOutputModelFactory.action(ActionAST
|
List |
ParserFactory.action(ActionAST
|
List |
OutputModelFactory.action(ActionAST
|
List |
OutputModelController.action(ActionAST
|
List |
CodeGeneratorExtension.action(List
|
List |
SourceGenTriggers.atom(GrammarAST
|
List |
SourceGenTriggers.block(GrammarAST
|
List |
SourceGenTriggers.blockSet(GrammarAST
|
List |
SourceGenTriggers.element()
|
List |
BlankOutputModelFactory.getLL1Test(IntervalSet look, GrammarAST
|
List |
ParserFactory.getLL1Test(IntervalSet look, GrammarAST
|
List |
OutputModelFactory.getLL1Test(IntervalSet look, GrammarAST
|
List |
SourceGenTriggers.labeledElement()
|
static List |
DefaultOutputModelFactory.list(Collection
|
static List |
DefaultOutputModelFactory.list(SrcOp
|
List |
SourceGenTriggers.range(GrammarAST
|
List |
CodeGeneratorExtension.rulePostamble(List
|
List |
BlankOutputModelFactory.rulePostamble(RuleFunction
|
List |
OutputModelFactory.rulePostamble(RuleFunction
|
List |
OutputModelController.rulePostamble(RuleFunction
|
List |
SourceGenTriggers.ruleref(GrammarAST
|
List |
BlankOutputModelFactory.ruleRef(GrammarAST
|
List |
ParserFactory.ruleRef(GrammarAST
|
List |
OutputModelFactory.ruleRef(GrammarAST
|
List |
OutputModelController.ruleRef(GrammarAST
|
List |
CodeGeneratorExtension.ruleRef(List
|
List |
BlankOutputModelFactory.sempred(ActionAST
|
List |
ParserFactory.sempred(ActionAST
|
List |
OutputModelFactory.sempred(ActionAST
|
List |
OutputModelController.sempred(ActionAST
|
List |
CodeGeneratorExtension.sempred(List
|
List |
BlankOutputModelFactory.set(GrammarAST
|
List |
ParserFactory.set(GrammarAST
|
List |
OutputModelFactory.set(GrammarAST
|
List |
OutputModelController.set(GrammarAST
(A|B|C) possibly with ebnfRoot and label
|
List |
CodeGeneratorExtension.set(List
|
List |
BlankOutputModelFactory.stringRef(GrammarAST
|
List |
OutputModelFactory.stringRef(GrammarAST
|
List |
OutputModelController.stringRef(GrammarAST
|
List |
CodeGeneratorExtension.stringRef(List
|
List |
SourceGenTriggers.subrule()
|
List |
SourceGenTriggers.terminal(GrammarAST
|
List |
BlankOutputModelFactory.tokenRef(GrammarAST
|
List |
ParserFactory.tokenRef(GrammarAST
|
List |
OutputModelFactory.tokenRef(GrammarAST
|
List |
OutputModelController.tokenRef(GrammarAST
|
List |
CodeGeneratorExtension.tokenRef(List
|
List |
BlankOutputModelFactory.wildcard(GrammarAST
|
List |
ParserFactory.wildcard(GrammarAST
|
List |
OutputModelFactory.wildcard(GrammarAST
|
List |
OutputModelController.wildcard(GrammarAST
|
List |
CodeGeneratorExtension.wildcard(List
|
| Modifier and Type | Method and Description |
|---|---|
static List |
DefaultOutputModelFactory.list(SrcOp
|
| Modifier and Type | Method and Description |
|---|---|
List |
CodeGeneratorExtension.action(List
|
CodeBlockForAlt |
BlankOutputModelFactory.finishAlternative(CodeBlockForAlt
|
CodeBlockForAlt |
ParserFactory.finishAlternative(CodeBlockForAlt
|
CodeBlockForAlt |
OutputModelFactory.finishAlternative(CodeBlockForAlt
|
CodeBlockForAlt |
OutputModelController.finishAlternative(CodeBlockForAlt
|
static List |
DefaultOutputModelFactory.list(Collection
|
List |
CodeGeneratorExtension.rulePostamble(List
|
List |
CodeGeneratorExtension.ruleRef(List
|
List |
CodeGeneratorExtension.sempred(List
|
List |
CodeGeneratorExtension.set(List
|
List |
CodeGeneratorExtension.stringRef(List
|
List |
CodeGeneratorExtension.tokenRef(List
|
List |
CodeGeneratorExtension.wildcard(List
|
| Modifier and Type | Class and Description |
|---|---|
class |
Action
|
class |
AddToLabelList
|
class |
AltBlock
|
class |
ArgAction
|
class |
CaptureNextToken
|
class |
CaptureNextTokenType
|
class |
Choice
The class hierarchy underneath SrcOp is pretty deep but makes sense that, for example LL1StarBlock is a kind of LL1Loop which is a kind of Choice.
|
class |
CodeBlockForAlt
Contains Rewrite block (usually as last op)
|
class |
CodeBlockForOuterMostAlt
The code associated with the outermost alternative of a rule.
|
class |
ExceptionClause
|
class |
InvokeRule
|
class |
LL1AltBlock
(A | B | C)
|
class |
LL1Choice
|
class |
LL1Loop
|
class |
LL1OptionalBlock
An optional block is just an alternative block where the last alternative is epsilon.
|
class |
LL1OptionalBlockSingleAlt
(A B C)?
|
class |
LL1PlusBlockSingleAlt
|
class |
LL1StarBlockSingleAlt
|
class |
Loop
|
class |
MatchNotSet
|
class |
MatchSet
|
class |
MatchToken
|
class |
OptionalBlock
|
class |
PlusBlock
|
class |
RuleElement
|
class |
SemPred
|
class |
StarBlock
|
class |
Sync
|
class |
TestSetInline
|
class |
ThrowEarlyExitException
|
class |
ThrowNoViableAlt
|
class |
ThrowRecognitionException
|
| Modifier and Type | Field and Description |
|---|---|
SrcOp |
LL1OptionalBlockSingleAlt.expr
|
| Modifier and Type | Field and Description |
|---|---|
List |
RuleFunction.code
|
List |
LL1OptionalBlockSingleAlt.followExpr
|
List |
LL1Loop.iteration
|
List |
Loop.iteration
|
List |
RuleFunction.postamble
|
List |
Choice.preamble
|
| Modifier and Type | Method and Description |
|---|---|
SrcOp |
LL1Loop.addCodeForLoopLookaheadTempVar(IntervalSet look)
|
| Modifier and Type | Method and Description |
|---|---|
void |
LL1Loop.addIterationOp(SrcOp
|
void |
Loop.addIterationOp(SrcOp
|
void |
Choice.addPreambleOp(SrcOp
|
| Modifier and Type | Class and Description |
|---|---|
class |
AltLabelStructDecl
A StructDecl to handle a -> label on alt
|
class |
AttributeDecl
|
class |
CodeBlock
|
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 |
Decl
|
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 | Field and Description |
|---|---|
List |
CodeBlock.ops
|
List |
CodeBlock.preamble
|
| Modifier and Type | Method and Description |
|---|---|
void |
CodeBlock.addOp(SrcOp
|
void |
CodeBlock.addPreambleOp(SrcOp
|
void |
CodeBlock.insertOp(int i, SrcOp
|
| Modifier and Type | Method and Description |
|---|---|
void |
CodeBlock.addOps(List
|