| Interface | Description |
|---|---|
| ANTLRErrorListener |
Defines behavior of object able to handle error messages from ANTLR including
both tool errors like "can't write file" and grammar ambiguity warnings.
|
| Class | Description |
|---|---|
| AssignTokenTypesBehavior |
Move all of the functionality from assign.types.g grammar file.
|
| Attribute |
Track the names of attributes define in arg lists, return values,
scope blocks etc...
|
| AttributeScope |
Track the attributes within a scope.
|
| BuildDependencyGenerator |
Given a grammar file, show the dependencies on .tokens etc...
|
| CompositeGrammar |
A tree of component (delegate) grammars.
|
| CompositeGrammarTree |
A tree of grammars
|
| DOTGenerator |
The DOT (part of graphviz) generation aspect.
|
| ErrorManager |
Defines all the errors ANTLR can generator for both the tool and for
issues with a grammar.
|
| ErrorManager.ErrorState | |
| FASerializer |
An aspect of FA (finite automata) that knows how to dump them to serialized
strings.
|
| Grammar |
Represents a grammar in memory.
|
| Grammar.Decision | |
| GrammarAnalysisAbortedMessage |
Reports the condition that ANTLR's LL(*) analysis engine terminated
early.
|
| GrammarAST |
Grammars are first converted to ASTs using this class and then are
converted to NFAs via a tree walker.
|
| GrammarDanglingStateMessage |
Reports a potential parsing issue with a decision; the decision is
nondeterministic in some way.
|
| GrammarInsufficientPredicatesMessage | |
| GrammarNonDeterminismMessage |
Reports a potential parsing issue with a decision; the decision is
nondeterministic in some way.
|
| GrammarReport | |
| GrammarReport.ReportData | |
| GrammarReport2 |
Simplifying report dramatically for LL(*) paper.
|
| GrammarSanity |
Factor out routines that check sanity of rules, alts, grammars, etc..
|
| GrammarSemanticsMessage |
A problem with the symbols and/or meaning of a grammar such as rule
redefinition.
|
| GrammarSerializerFoo |
Serialize a grammar into a highly compressed form with
only the info needed to recognize sentences.
|
| GrammarSpelunker |
Load a grammar file and scan it just until we learn a few items
of interest.
|
| GrammarSpelunker.Scanner |
Strip comments and then return stream of words and
tokens {';', ':', '{', '}'}
|
| 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"
|
| GrammarUnreachableAltsMessage |
Reports a potential parsing issue with a decision; the decision is
nondeterministic in some way.
|
| Interp |
Interpret any ANTLR grammar:
java Interp file.g tokens-to-ignore start-rule input-file
java Interp C.g 'WS COMMENT' program t.c
where the WS and COMMENT are the names of tokens you want to have
the parser ignore.
|
| Interp.FilteringTokenStream | |
| Interpreter |
The recognition interpreter/engine for grammars.
|
| LeftRecursionCyclesMessage |
Similar to LeftRecursionMessage except this is used for announcing
cycles found by walking rules without decisions; the other msg is
invoked when a decision DFA construction finds a problem in closure.
|
| LeftRecursiveRuleAnalyzer | |
| Message |
The ANTLR code calls methods on ErrorManager to report errors etc...
|
| NameSpaceChecker | |
| NFAFactory |
Routines to construct StateClusters from EBNF grammar constructs.
|
| NonRegularDecisionMessage |
More a single alternative recurses so this decision is not regular.
|
| RandomPhrase |
Generate a random phrase given a grammar.
|
| RecursionOverflowMessage |
Indicates recursion overflow.
|
| Rule |
Combine the info associated with a rule.
|
| RuleLabelScope | |
| Strip |
A basic action stripper.
|
| 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.
|
| ToolSTGroupFile |
This extension of
STGroupFile automatically sets the group's
STErrorListener to ErrorManager.getSTErrorListener(). |
| Enum | Description |
|---|---|
| LeftRecursiveRuleAnalyzer.ASSOC |
Copyright © 1992–2014 ANTLR. All rights reserved.