All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
| Class |
Description |
| Action |
|
| ActionAST |
|
| ActionChunk |
|
| ActionSniffer |
Find token and rule refs plus refs to them in actions;
side-effect: update Alternatives
|
| ActionSplitter |
|
| ActionSplitterListener |
|
| ActionTemplate |
|
| ActionText |
|
| ActionTranslator |
|
| AddToLabelList |
|
| AltAST |
Any ALT (which can be child of ALT_REWRITE node)
|
| AltBlock |
|
| Alternative |
An outermost alternative for a rule.
|
| AltLabelStructDecl |
A StructDecl to handle a -> label on alt
|
| AnalysisPipeline |
|
| ANTLRLexer |
Read in an ANTLR grammar and build an AST.
|
| ANTLRMessage |
|
| ANTLRParser |
The definitive ANTLR v3 grammar to parse ANTLR v4 grammars.
|
| ANTLRParser.action_return |
|
| ANTLRParser.actionElement_return |
|
| ANTLRParser.actionScopeName_return |
|
| ANTLRParser.alternative_return |
|
| ANTLRParser.alternativeEntry_return |
|
| ANTLRParser.altList_return |
|
| ANTLRParser.atom_return |
|
| ANTLRParser.block_return |
|
| ANTLRParser.blockEntry_return |
|
| ANTLRParser.blockSet_return |
|
| ANTLRParser.blockSuffix_return |
|
| ANTLRParser.channelsSpec_return |
|
| ANTLRParser.delegateGrammar_return |
|
| ANTLRParser.delegateGrammars_return |
|
| ANTLRParser.ebnf_return |
|
| ANTLRParser.ebnfSuffix_return |
|
| ANTLRParser.element_return |
|
| ANTLRParser.elementEntry_return |
|
| ANTLRParser.elementOption_return |
|
| ANTLRParser.elementOptions_return |
|
| ANTLRParser.exceptionGroup_return |
|
| ANTLRParser.exceptionHandler_return |
|
| ANTLRParser.finallyClause_return |
|
| ANTLRParser.grammarSpec_return |
|
| ANTLRParser.grammarType_return |
|
| ANTLRParser.id_return |
|
| ANTLRParser.labeledAlt_return |
|
| ANTLRParser.labeledElement_return |
|
| ANTLRParser.lexerAlt_return |
|
| ANTLRParser.lexerAltList_return |
|
| ANTLRParser.lexerAtom_return |
|
| ANTLRParser.lexerBlock_return |
|
| ANTLRParser.lexerCommand_return |
|
| ANTLRParser.lexerCommandExpr_return |
|
| ANTLRParser.lexerCommandName_return |
|
| ANTLRParser.lexerCommands_return |
|
| ANTLRParser.lexerElement_return |
|
| ANTLRParser.lexerElements_return |
|
| ANTLRParser.lexerRule_return |
|
| ANTLRParser.lexerRuleBlock_return |
|
| ANTLRParser.localsSpec_return |
|
| ANTLRParser.modeSpec_return |
|
| ANTLRParser.notSet_return |
|
| ANTLRParser.option_return |
|
| ANTLRParser.optionsSpec_return |
|
| ANTLRParser.optionValue_return |
|
| ANTLRParser.parserRule_return |
|
| ANTLRParser.prequelConstruct_return |
|
| ANTLRParser.qid_return |
|
| ANTLRParser.range_return |
|
| ANTLRParser.rule_return |
|
| ANTLRParser.ruleAction_return |
|
| ANTLRParser.ruleAltList_return |
|
| ANTLRParser.ruleBlock_return |
|
| ANTLRParser.ruleEntry_return |
|
| ANTLRParser.rulePrequel_return |
|
| ANTLRParser.rulePrequels_return |
|
| ANTLRParser.ruleref_return |
|
| ANTLRParser.ruleReturns_return |
|
| ANTLRParser.rules_return |
|
| ANTLRParser.setElement_return |
|
| ANTLRParser.sync_return |
|
| ANTLRParser.terminal_return |
|
| ANTLRParser.throwsSpec_return |
|
| ANTLRParser.tokensSpec_return |
|
| ANTLRParser.wildcard_return |
|
| ANTLRToolListener |
Defines behavior of object able to handle error messages from ANTLR including
both tool errors like "can't write file" and grammar ambiguity warnings.
|
| ArgAction |
|
| ArgRef |
|
| ATNBuilder |
|
| ATNBuilder.atom_return |
|
| ATNBuilder.blockSet_return |
|
| ATNBuilder.element_return |
|
| ATNBuilder.lexerCommandExpr_return |
|
| ATNBuilder.setElement_return |
|
| ATNBuilder.subrule_return |
|
| ATNBuilder.terminal_return |
|
| ATNFactory |
|
| ATNFactory.Handle |
A pair of states pointing to the left/right (start and end) states of a
state submachine.
|
| ATNOptimizer |
|
| ATNPrinter |
An ATN walker that knows how to dump them to serialized strings.
|
| ATNVisitor |
A simple visitor that walks everywhere it can go starting from s,
without going into an infinite cycle.
|
| Attribute |
Track the names of attributes defined in arg lists, return values,
scope blocks etc...
|
| AttributeChecks |
Trigger checks for various kinds of attribute expressions.
|
| AttributeDecl |
|
| AttributeDict |
Track the attributes within retval, arg lists etc...
|
| AttributeDict.DictType |
|
| AttributeResolver |
Grammars, rules, and alternatives all have symbols visible to
actions.
|
| BaseListenerFile |
|
| BaseVisitorFile |
|
| BasicFontMetrics |
Font metrics.
|
| BasicSemanticChecks |
No side-effects except for setting options into the appropriate node.
|
| BlankActionSplitterListener |
|
| BlankOutputModelFactory |
|
| BlockAST |
|
| BlockSetTransformer |
|
| BlockSetTransformer.blockSet_return |
|
| BlockSetTransformer.ebnfBlockSet_return |
|
| BlockSetTransformer.ebnfSuffix_return |
|
| BlockSetTransformer.elementOption_return |
|
| BlockSetTransformer.elementOptions_return |
|
| BlockSetTransformer.setAlt_return |
|
| BlockSetTransformer.setElement_return |
|
| BlockSetTransformer.topdown_return |
|
| BuildDependencyGenerator |
Given a grammar file, show the dependencies on .tokens etc...
|
| CaptureNextToken |
|
| CaptureNextTokenType |
|
| CharactersDataCheckStatus |
|
| CharSupport |
|
| 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.
|
| CodeBlock |
|
| CodeBlockForAlt |
Contains Rewrite block (usually as last op)
|
| CodeBlockForOuterMostAlt |
The code associated with the outermost alternative of a rule.
|
| CodeGenerator |
General controller for code gen.
|
| CodeGeneratorExtension |
Filter list of SrcOps and return; default is pass-through filter
|
| CodeGenPipeline |
|
| ContextGetterDecl |
|
| ContextRuleGetterDecl |
public XContext X() { }
|
| ContextRuleListGetterDecl |
public List<XContext> X() { }
public XContext X(int i) { }
|
| ContextRuleListIndexedGetterDecl |
|
| ContextTokenGetterDecl |
public Token X() { }
|
| ContextTokenListGetterDecl |
public List<Token> X() { }
public Token X(int i) { }
|
| ContextTokenListIndexedGetterDecl |
|
| CppTarget |
|
| CSharpTarget |
|
| DartTarget |
|
| dbg |
|
| Decl |
|
| DefaultOutputModelFactory |
Create output objects for elements *within* rule functions except
buildOutputModel() which builds outer/root model object and any
objects such as RuleFunction that surround elements in rule
functions.
|
| DefaultToolListener |
|
| DispatchMethod |
|
| DOTGenerator |
The DOT (part of graphviz) generation aspect.
|
| ElementFrequenciesVisitor |
|
| ElementListDecl |
|
| ErrorManager |
|
| ErrorSeverity |
Abstracts away the definition of Message severity and the text that should
display to represent that severity if there is no StringTemplate available
to do it.
|
| ErrorType |
A complex enumeration of all the error messages that the tool can issue.
|
| EscapeSequenceParsing |
Utility class to parse escapes like:
\\n
\\uABCD
\\u{10ABCD}
\\p{Foo}
\\P{Bar}
\\p{Baz=Blech}
\\P{Baz=Blech}
|
| EscapeSequenceParsing.Result |
|
| EscapeSequenceParsing.Result.Type |
|
| ExceptionClause |
|
| FrequencySet<T> |
Count how many of each key we have; not thread safe
|
| GoTarget |
|
| Grammar |
|
| GrammarAST |
|
| GrammarASTAdaptor |
|
| GrammarASTErrorNode |
A node representing erroneous token range in token stream
|
| GrammarASTVisitor |
A simple visitor, based upon the classic double dispatch method,
for walking GrammarAST trees resulting from parsing ANTLR grammars.
|
| GrammarASTWithOptions |
|
| GrammarInterpreterRuleContext |
|
| GrammarParserInterpreter |
A heavier weight ParserInterpreter that creates parse trees
that track alternative numbers for subtree roots.
|
| GrammarParserInterpreter.BailButConsumeErrorStrategy |
We want to stop and track the first error but we cannot bail out like
BailErrorStrategy as consume() constructs trees.
|
| GrammarRootAST |
|
| GrammarSemanticsMessage |
A problem with the symbols and/or meaning of a grammar such as rule
redefinition.
|
| GrammarSyntaxMessage |
A problem with the syntax of your antlr grammar such as
"The '{' came as a complete surprise to me at this point in your program"
|
| GrammarToken |
A CommonToken that can also track it's original location,
derived from options on the element ref like BEGIN<line=34,...>.
|
| GrammarTransformPipeline |
Handle left-recursion and block-set transforms
|
| GrammarTreeVisitor |
The definitive ANTLR v3 tree grammar to walk/visit ANTLR v4 grammars.
|
| GrammarTreeVisitor.action_return |
|
| GrammarTreeVisitor.actionElement_return |
|
| GrammarTreeVisitor.alternative_return |
|
| GrammarTreeVisitor.astOperand_return |
|
| GrammarTreeVisitor.atom_return |
|
| GrammarTreeVisitor.block_return |
|
| GrammarTreeVisitor.blockSet_return |
|
| GrammarTreeVisitor.blockSuffix_return |
|
| GrammarTreeVisitor.channelSpec_return |
|
| GrammarTreeVisitor.channelsSpec_return |
|
| GrammarTreeVisitor.delegateGrammar_return |
|
| GrammarTreeVisitor.delegateGrammars_return |
|
| GrammarTreeVisitor.ebnfSuffix_return |
|
| GrammarTreeVisitor.element_return |
|
| GrammarTreeVisitor.elementOption_return |
|
| GrammarTreeVisitor.elementOptions_return |
|
| GrammarTreeVisitor.exceptionGroup_return |
|
| GrammarTreeVisitor.exceptionHandler_return |
|
| GrammarTreeVisitor.finallyClause_return |
|
| GrammarTreeVisitor.grammarSpec_return |
|
| GrammarTreeVisitor.labeledElement_return |
|
| GrammarTreeVisitor.lexerAlternative_return |
|
| GrammarTreeVisitor.lexerAtom_return |
|
| GrammarTreeVisitor.lexerBlock_return |
|
| GrammarTreeVisitor.lexerCommand_return |
|
| GrammarTreeVisitor.lexerCommandExpr_return |
|
| GrammarTreeVisitor.lexerElement_return |
|
| GrammarTreeVisitor.lexerElements_return |
|
| GrammarTreeVisitor.lexerOuterAlternative_return |
|
| GrammarTreeVisitor.lexerRule_return |
|
| GrammarTreeVisitor.lexerRuleBlock_return |
|
| GrammarTreeVisitor.lexerSubrule_return |
|
| GrammarTreeVisitor.locals_return |
|
| GrammarTreeVisitor.mode_return |
|
| GrammarTreeVisitor.option_return |
|
| GrammarTreeVisitor.optionsSpec_return |
|
| GrammarTreeVisitor.optionValue_return |
|
| GrammarTreeVisitor.outerAlternative_return |
|
| GrammarTreeVisitor.prequelConstruct_return |
|
| GrammarTreeVisitor.prequelConstructs_return |
|
| GrammarTreeVisitor.range_return |
|
| GrammarTreeVisitor.rule_return |
|
| GrammarTreeVisitor.ruleAction_return |
|
| GrammarTreeVisitor.ruleBlock_return |
|
| GrammarTreeVisitor.ruleModifier_return |
|
| GrammarTreeVisitor.ruleref_return |
|
| GrammarTreeVisitor.ruleReturns_return |
|
| GrammarTreeVisitor.rules_return |
|
| GrammarTreeVisitor.setElement_return |
|
| GrammarTreeVisitor.subrule_return |
|
| GrammarTreeVisitor.terminal_return |
|
| GrammarTreeVisitor.throwsSpec_return |
|
| GrammarTreeVisitor.tokenSpec_return |
|
| GrammarTreeVisitor.tokensSpec_return |
|
| Graph<T> |
A generic graph with edges; Each node as a single Object payload.
|
| Graph.Node<T> |
|
| GraphicsSupport |
|
| Interpreter |
Interpret a lexer/parser, optionally printing tree string and dumping profile info
$ java org.antlr.v4.gui.Interpreter [X.g4|XParser.g4 XLexer.g4] startRuleName inputFileName
[-tree]
[-gui]
[-trace]
[-encoding encoding]
[-tokens]
[-profile filename.csv]
|
| Interpreter.IgnoreTokenVocabGrammar |
|
| InvokeRule |
|
| JavaScriptTarget |
|
| JavaTarget |
|
| JFileChooserConfirmOverwrite |
|
| LabeledOp |
All the rule elements we can label like tokens, rules, sets, wildcard.
|
| LabelElementPair |
|
| LabelRef |
|
| LabelType |
the various kinds of labels.
|
| LeftRecursionCyclesMessage |
|
| LeftRecursionDetector |
|
| LeftRecursiveRule |
|
| LeftRecursiveRuleAltInfo |
|
| LeftRecursiveRuleAnalyzer |
Using a tree walker on the rules, determine if a rule is directly left-recursive and if it follows
our pattern.
|
| LeftRecursiveRuleAnalyzer.ASSOC |
|
| LeftRecursiveRuleFunction |
|
| LeftRecursiveRuleTransformer |
Remove left-recursive rule refs, add precedence args to recursive rule refs.
|
| LeftRecursiveRuleWalker |
Find left-recursive rules
|
| LeftRecursiveRuleWalker.outerAlternative_return |
|
| LeftRecursiveRuleWalker.ruleBlock_return |
|
| Lexer |
|
| LexerATNFactory |
|
| LexerFactory |
|
| LexerFile |
|
| LexerGrammar |
|
| ListenerDispatchMethod |
|
| ListenerFile |
A model object representing a parse tree listener file.
|
| ListLabelRef |
|
| LL1AltBlock |
(A | B | C)
|
| LL1Choice |
|
| LL1Loop |
|
| LL1OptionalBlock |
An optional block is just an alternative block where the last alternative
is epsilon.
|
| LL1OptionalBlockSingleAlt |
(A B C)?
|
| LL1PlusBlockSingleAlt |
|
| LL1StarBlockSingleAlt |
|
| LocalRef |
|
| Loop |
|
| MatchNotSet |
|
| MatchSet |
|
| MatchToken |
|
| ModelElement |
Indicate field of OutputModelObject is an element to be walked by
OutputModelWalker.
|
| MutableInt |
|
| NonLocalAttrRef |
|
| NotAST |
|
| OptionalBlock |
|
| OptionalBlockAST |
|
| OrderedHashMap<K,V> |
I need the get-element-i functionality so I'm subclassing
LinkedHashMap.
|
| OutputFile |
|
| OutputModelController |
This receives events from SourceGenTriggers.g and asks factory to do work.
|
| OutputModelFactory |
|
| OutputModelObject |
|
| OutputModelWalker |
Convert an output model tree to template hierarchy by walking
the output model.
|
| Parser |
|
| ParserATNFactory |
ATN construction routines triggered by ATNBuilder.g.
|
| ParserFactory |
|
| ParserFile |
|
| PHPTarget |
|
| PlusBlock |
|
| PlusBlockAST |
|
| PostScriptDocument |
|
| PredAST |
|
| Python3Target |
|
| QRetValueRef |
|
| QuantifierAST |
|
| RangeAST |
|
| RangeBorderCharactersData |
|
| Recognizer |
|
| ResyncToEndOfRuleBlock |
Used to throw us out of deeply nested element back to end of a rule's
alt list.
|
| RetValueRef |
|
| Rule |
|
| RuleActionFunction |
|
| RuleAST |
|
| RuleCollector |
|
| RuleContextDecl |
|
| RuleContextListDecl |
|
| RuleElement |
|
| RuleElementAST |
Tag indicated AST node is a rule element like token or rule ref.
|
| RuleFunction |
|
| RulePropertyRef |
|
| RulePropertyRef_ctx |
|
| RulePropertyRef_parser |
|
| RulePropertyRef_start |
|
| RulePropertyRef_stop |
|
| RulePropertyRef_text |
|
| RuleRefAST |
|
| RuleSempredFunction |
|
| ScopeParser |
Parse args, return values, locals
|
| SemanticPipeline |
Do as much semantic checking as we can and fill in grammar
with rules, actions, and token definitions.
|
| SemPred |
|
| SerializedATN |
Represents a serialized ATN that is just a list of signed integers; works for all targets
except for java, which requires a 16-bit char encoding.
|
| SerializedJavaATN |
A serialized ATN for the java target, which requires we use strings and 16-bit unicode values
|
| SetAST |
|
| SetAttr |
|
| SetNonLocalAttr |
|
| SourceGenTriggers |
|
| SourceGenTriggers.alt_return |
|
| SourceGenTriggers.alternative_return |
|
| SrcOp |
|
| StarBlock |
|
| StarBlockAST |
|
| StructDecl |
This object models the structure holding all of the parameters,
return values, local variables, and labels associated with a rule.
|
| SwiftTarget |
|
| SymbolChecks |
Check for symbol problems; no side-effects.
|
| SymbolCollector |
Collects (create) rules, terminals, strings, actions, scopes etc...
|
| SymbolRefChunk |
|
| Sync |
|
| SystemFontMetrics |
|
| TailEpsilonRemover |
|
| Target |
|
| TerminalAST |
|
| TestRig |
Run a lexer/parser combo, optionally printing tree string or generating
postscript file.
|
| TestSetInline |
|
| TestSetInline.Bitset |
|
| ThisRulePropertyRef_ctx |
|
| ThisRulePropertyRef_parser |
|
| ThisRulePropertyRef_start |
|
| ThisRulePropertyRef_stop |
|
| ThisRulePropertyRef_text |
|
| ThrowEarlyExitException |
|
| ThrowNoViableAlt |
|
| ThrowRecognitionException |
|
| TokenDecl |
x=ID or implicit _tID label
|
| TokenInfo |
|
| TokenListDecl |
|
| TokenPropertyRef |
|
| TokenPropertyRef_channel |
|
| TokenPropertyRef_index |
|
| TokenPropertyRef_int |
|
| TokenPropertyRef_line |
|
| TokenPropertyRef_pos |
|
| TokenPropertyRef_text |
|
| TokenPropertyRef_type |
|
| TokenRef |
|
| TokenTypeDecl |
|
| TokenVocabParser |
|
| Tool |
|
| Tool.Option |
|
| Tool.OptionArgType |
|
| ToolANTLRLexer |
|
| ToolANTLRParser |
Override error handling for use with ANTLR tool itself; leaves
nothing in grammar associated with Tool so others can use in IDEs, ...
|
| ToolMessage |
A generic message from the tool such as "file not found" type errors; there
is no reason to create a special object for each error unlike the grammar
errors, which may be rather complex.
|
| TreeLayoutAdaptor |
Adaptor ANTLR trees to TreeForTreeLayout.
|
| TreePostScriptGenerator |
|
| Trees |
|
| TreeTextProvider |
|
| TreeViewer |
|
| TreeViewer.DefaultTreeTextProvider |
|
| TreeViewer.VariableExtentProvide |
|
| TypeScriptTarget |
|
| UnicodeData |
Code-generated utility class mapping Unicode properties to Unicode code point ranges.
|
| UnicodeDataTemplateController |
StringTemplate controller used to generate parameters to feed
to unicodedata.st to code-generate UnicodeData.java,
used by the tool for Unicode property escapes like \\p\{Lu\}.
|
| UnicodeEscapes |
Utility class to escape Unicode code points using various
languages' syntax.
|
| UseDefAnalyzer |
Look for errors and deadcode stuff
|
| Utils |
|
| Utils.Filter<T> |
|
| Utils.Func0<TResult> |
|
| Utils.Func1<T1,TResult> |
|
| v4ParserException |
|
| VisitorDispatchMethod |
|
| VisitorFile |
|
| Wildcard |
|