Package | Description |
---|---|
org.antlr.v4.codegen | |
org.antlr.v4.codegen.model | |
org.antlr.v4.codegen.model.decl |
Modifier and Type | Field and Description |
---|---|
List<SrcOp> |
SourceGenTriggers.alternative_return.ops |
List<SrcOp> |
SourceGenTriggers.alt_return.ops |
Modifier and Type | Method and Description |
---|---|
List<SrcOp> |
OutputModelController.action(ActionAST ast) |
List<SrcOp> |
BlankOutputModelFactory.action(ActionAST ast) |
List<SrcOp> |
ParserFactory.action(ActionAST ast) |
List<SrcOp> |
OutputModelFactory.action(ActionAST ast) |
List<SrcOp> |
CodeGeneratorExtension.action(List<SrcOp> ops) |
List<SrcOp> |
SourceGenTriggers.atom(GrammarAST label,
boolean invert) |
List<? extends SrcOp> |
SourceGenTriggers.block(GrammarAST label,
GrammarAST ebnfRoot) |
List<SrcOp> |
SourceGenTriggers.blockSet(GrammarAST label,
boolean invert) |
List<? extends SrcOp> |
SourceGenTriggers.element() |
List<SrcOp> |
BlankOutputModelFactory.getLL1Test(IntervalSet look,
GrammarAST blkAST) |
List<SrcOp> |
ParserFactory.getLL1Test(IntervalSet look,
GrammarAST blkAST) |
List<SrcOp> |
OutputModelFactory.getLL1Test(IntervalSet look,
GrammarAST blkAST) |
List<? extends SrcOp> |
SourceGenTriggers.labeledElement() |
static List<SrcOp> |
DefaultOutputModelFactory.list(Collection<? extends SrcOp> values) |
static List<SrcOp> |
DefaultOutputModelFactory.list(SrcOp... values) |
List<SrcOp> |
SourceGenTriggers.range(GrammarAST label) |
List<SrcOp> |
CodeGeneratorExtension.rulePostamble(List<SrcOp> ops) |
List<SrcOp> |
OutputModelController.rulePostamble(RuleFunction function,
Rule r) |
List<SrcOp> |
BlankOutputModelFactory.rulePostamble(RuleFunction function,
Rule r) |
List<SrcOp> |
DefaultOutputModelFactory.rulePostamble(RuleFunction function,
Rule r) |
List<SrcOp> |
OutputModelFactory.rulePostamble(RuleFunction function,
Rule r) |
List<SrcOp> |
SourceGenTriggers.ruleref(GrammarAST label) |
List<SrcOp> |
OutputModelController.ruleRef(GrammarAST ID,
GrammarAST label,
GrammarAST args) |
List<SrcOp> |
BlankOutputModelFactory.ruleRef(GrammarAST ID,
GrammarAST label,
GrammarAST args) |
List<SrcOp> |
ParserFactory.ruleRef(GrammarAST ID,
GrammarAST label,
GrammarAST args) |
List<SrcOp> |
OutputModelFactory.ruleRef(GrammarAST ID,
GrammarAST label,
GrammarAST args) |
List<SrcOp> |
CodeGeneratorExtension.ruleRef(List<SrcOp> ops) |
List<SrcOp> |
OutputModelController.sempred(ActionAST ast) |
List<SrcOp> |
BlankOutputModelFactory.sempred(ActionAST ast) |
List<SrcOp> |
ParserFactory.sempred(ActionAST ast) |
List<SrcOp> |
OutputModelFactory.sempred(ActionAST ast) |
List<SrcOp> |
CodeGeneratorExtension.sempred(List<SrcOp> ops) |
List<SrcOp> |
OutputModelController.set(GrammarAST setAST,
GrammarAST labelAST,
boolean invert)
(A|B|C) possibly with ebnfRoot and label
|
List<SrcOp> |
BlankOutputModelFactory.set(GrammarAST setAST,
GrammarAST label,
boolean invert) |
List<SrcOp> |
ParserFactory.set(GrammarAST setAST,
GrammarAST labelAST,
boolean invert) |
List<SrcOp> |
OutputModelFactory.set(GrammarAST setAST,
GrammarAST label,
boolean invert) |
List<SrcOp> |
CodeGeneratorExtension.set(List<SrcOp> ops) |
List<SrcOp> |
OutputModelController.stringRef(GrammarAST ID,
GrammarAST label) |
List<SrcOp> |
BlankOutputModelFactory.stringRef(GrammarAST ID,
GrammarAST label) |
List<SrcOp> |
OutputModelFactory.stringRef(GrammarAST ID,
GrammarAST label) |
List<SrcOp> |
CodeGeneratorExtension.stringRef(List<SrcOp> ops) |
List<? extends SrcOp> |
SourceGenTriggers.subrule() |
List<SrcOp> |
SourceGenTriggers.terminal(GrammarAST label) |
List<SrcOp> |
OutputModelController.tokenRef(GrammarAST ID,
GrammarAST label,
GrammarAST args) |
List<SrcOp> |
BlankOutputModelFactory.tokenRef(GrammarAST ID,
GrammarAST label,
GrammarAST args) |
List<SrcOp> |
ParserFactory.tokenRef(GrammarAST ID,
GrammarAST labelAST,
GrammarAST args) |
List<SrcOp> |
OutputModelFactory.tokenRef(GrammarAST ID,
GrammarAST label,
GrammarAST args) |
List<SrcOp> |
CodeGeneratorExtension.tokenRef(List<SrcOp> ops) |
List<SrcOp> |
OutputModelController.wildcard(GrammarAST ast,
GrammarAST labelAST) |
List<SrcOp> |
BlankOutputModelFactory.wildcard(GrammarAST ast,
GrammarAST labelAST) |
List<SrcOp> |
ParserFactory.wildcard(GrammarAST ast,
GrammarAST labelAST) |
List<SrcOp> |
OutputModelFactory.wildcard(GrammarAST ast,
GrammarAST labelAST) |
List<SrcOp> |
CodeGeneratorExtension.wildcard(List<SrcOp> ops) |
Modifier and Type | Method and Description |
---|---|
static List<SrcOp> |
DefaultOutputModelFactory.list(SrcOp... values) |
Modifier and Type | Method and Description |
---|---|
List<SrcOp> |
CodeGeneratorExtension.action(List<SrcOp> ops) |
CodeBlockForAlt |
BlankOutputModelFactory.finishAlternative(CodeBlockForAlt blk,
List<SrcOp> ops) |
CodeBlockForAlt |
ParserFactory.finishAlternative(CodeBlockForAlt blk,
List<SrcOp> ops) |
CodeBlockForAlt |
OutputModelFactory.finishAlternative(CodeBlockForAlt blk,
List<SrcOp> ops) |
CodeBlockForAlt |
OutputModelController.finishAlternative(CodeBlockForAlt blk,
List<SrcOp> ops,
boolean outerMost) |
static List<SrcOp> |
DefaultOutputModelFactory.list(Collection<? extends SrcOp> values) |
List<SrcOp> |
CodeGeneratorExtension.rulePostamble(List<SrcOp> ops) |
List<SrcOp> |
CodeGeneratorExtension.ruleRef(List<SrcOp> ops) |
List<SrcOp> |
CodeGeneratorExtension.sempred(List<SrcOp> ops) |
List<SrcOp> |
CodeGeneratorExtension.set(List<SrcOp> ops) |
List<SrcOp> |
CodeGeneratorExtension.stringRef(List<SrcOp> ops) |
List<SrcOp> |
CodeGeneratorExtension.tokenRef(List<SrcOp> ops) |
List<SrcOp> |
CodeGeneratorExtension.wildcard(List<SrcOp> ops) |
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 |
class |
Wildcard |
Modifier and Type | Field and Description |
---|---|
SrcOp |
LL1OptionalBlockSingleAlt.expr |
Modifier and Type | Field and Description |
---|---|
List<SrcOp> |
RuleFunction.code |
List<SrcOp> |
LL1OptionalBlockSingleAlt.followExpr |
List<SrcOp> |
Loop.iteration |
List<SrcOp> |
LL1Loop.iteration |
List<SrcOp> |
RuleFunction.postamble |
List<SrcOp> |
Choice.preamble |
Modifier and Type | Method and Description |
---|---|
SrcOp |
LL1Loop.addCodeForLoopLookaheadTempVar(IntervalSet look) |
Modifier and Type | Method and Description |
---|---|
void |
Loop.addIterationOp(SrcOp op) |
void |
LL1Loop.addIterationOp(SrcOp op) |
void |
Choice.addPreambleOp(SrcOp op) |
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<SrcOp> |
CodeBlock.ops |
List<SrcOp> |
CodeBlock.preamble |
Modifier and Type | Method and Description |
---|---|
void |
CodeBlock.addOp(SrcOp op) |
void |
CodeBlock.addPreambleOp(SrcOp op) |
void |
CodeBlock.insertOp(int i,
SrcOp op) |
Modifier and Type | Method and Description |
---|---|
void |
CodeBlock.addOps(List<SrcOp> ops) |
Copyright © 1992–2020 ANTLR. All rights reserved.