Package | Description |
---|---|
org.antlr.v4.codegen | |
org.antlr.v4.codegen.model | |
org.antlr.v4.codegen.model.chunk | |
org.antlr.v4.codegen.model.decl |
Modifier and Type | Class | Description |
---|---|---|
class |
Wildcard |
Modifier and Type | Field | Description |
---|---|---|
OutputModelObject |
OutputModelController.root |
Modifier and Type | Method | Description |
---|---|---|
OutputModelObject |
OutputModelController.buildBaseListenerOutputModel(boolean header) |
|
OutputModelObject |
OutputModelController.buildBaseVisitorOutputModel(boolean header) |
|
OutputModelObject |
OutputModelController.buildLexerOutputModel(boolean header) |
|
OutputModelObject |
OutputModelController.buildListenerOutputModel(boolean header) |
|
OutputModelObject |
OutputModelController.buildParserOutputModel(boolean header) |
Build a file with a parser containing rule functions.
|
OutputModelObject |
OutputModelController.buildVisitorOutputModel(boolean header) |
|
OutputModelObject |
DefaultOutputModelFactory.getRoot() |
|
OutputModelObject |
OutputModelController.getRoot() |
|
OutputModelObject |
OutputModelFactory.getRoot() |
Modifier and Type | Method | Description |
---|---|---|
void |
OutputModelController.setRoot(OutputModelObject root) |
|
org.stringtemplate.v4.ST |
OutputModelWalker.walk(OutputModelObject omo,
boolean header) |
Modifier and Type | Class | Description |
---|---|---|
class |
Action |
|
class |
AddToLabelList |
|
class |
AltBlock |
|
class |
ArgAction |
|
class |
BaseListenerFile |
|
class |
BaseVisitorFile |
|
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 |
dbg |
|
class |
DispatchMethod |
|
class |
ExceptionClause |
|
class |
InvokeRule |
|
class |
LeftRecursiveRuleFunction |
|
class |
Lexer |
|
class |
LexerFile |
|
class |
ListenerDispatchMethod |
|
class |
ListenerFile |
A model object representing a parse tree listener file.
|
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 |
OutputFile |
|
class |
Parser |
|
class |
ParserFile |
|
class |
PlusBlock |
|
class |
Recognizer |
|
class |
RuleActionFunction |
|
class |
RuleElement |
|
class |
RuleFunction |
|
class |
RuleSempredFunction |
|
class |
SemPred |
|
class |
SerializedATN |
|
class |
SrcOp |
|
class |
StarBlock |
|
class |
Sync |
|
class |
TestSetInline |
|
class |
ThrowEarlyExitException |
|
class |
ThrowNoViableAlt |
|
class |
ThrowRecognitionException |
|
class |
VisitorDispatchMethod |
|
class |
VisitorFile |
Modifier and Type | Field | Description |
---|---|---|
OutputModelObject |
LL1Loop.loopExpr |
Modifier and Type | Class | Description |
---|---|---|
class |
ActionChunk |
|
class |
ActionTemplate |
|
class |
ActionText |
|
class |
ArgRef |
|
class |
LabelRef |
|
class |
ListLabelRef |
|
class |
LocalRef |
|
class |
NonLocalAttrRef |
|
class |
QRetValueRef |
|
class |
RetValueRef |
|
class |
RulePropertyRef |
|
class |
RulePropertyRef_ctx |
|
class |
RulePropertyRef_parser |
|
class |
RulePropertyRef_start |
|
class |
RulePropertyRef_stop |
|
class |
RulePropertyRef_text |
|
class |
SetAttr |
|
class |
SetNonLocalAttr |
|
class |
ThisRulePropertyRef_ctx |
|
class |
ThisRulePropertyRef_parser |
|
class |
ThisRulePropertyRef_start |
|
class |
ThisRulePropertyRef_stop |
|
class |
ThisRulePropertyRef_text |
|
class |
TokenPropertyRef |
|
class |
TokenPropertyRef_channel |
|
class |
TokenPropertyRef_index |
|
class |
TokenPropertyRef_int |
|
class |
TokenPropertyRef_line |
|
class |
TokenPropertyRef_pos |
|
class |
TokenPropertyRef_text |
|
class |
TokenPropertyRef_type |
|
class |
TokenRef |
Modifier and Type | Class | 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 | Description |
---|---|---|
List<OutputModelObject> |
StructDecl.extensionMembers |
|
List<OutputModelObject> |
StructDecl.interfaces |
Modifier and Type | Method | Description |
---|---|---|
void |
StructDecl.addExtensionMember(OutputModelObject member) |
|
void |
StructDecl.implementInterface(OutputModelObject value) |
Copyright © 1992–2018 ANTLR. All rights reserved.