Interface | Description |
---|---|
ANTLRErrorListener |
How to emit recognition errors
|
ANTLRErrorStrategy |
The interface for defining strategies to deal with syntax errors
encountered during a parse by ANTLR-generated parsers and tree parsers.
|
CharStream |
A source of characters for an ANTLR lexer.
|
IntStream |
A simple stream of symbols whose values are represented as integers.
|
Token |
A token has properties: text, type, line, character position in the line
(so we can ignore tabs), token channel, index, and source from which
we obtained this token.
|
TokenFactory<Symbol extends Token> |
The default mechanism for creating tokens.
|
TokenSource |
A source of tokens must provide a sequence of tokens via nextToken()
and also must reveal it's source of characters; CommonToken's text is
computed from a CharStream; it only store indices into the char stream.
|
TokenStream | |
WritableToken |
Class | Description |
---|---|
ANTLRFileStream |
This is an ANTLRInputStream that is loaded from a file
all at once when you construct the object.
|
ANTLRInputStream |
Vacuum all input from a Reader/InputStream and then treat it like a char[] buffer.
|
BailErrorStrategy |
Bail out of parser at first syntax error.
|
BaseErrorListener | |
BufferedTokenStream |
Buffer all input tokens but do on-demand fetching of new tokens from
lexer.
|
CommonToken | |
CommonTokenFactory | |
CommonTokenStream |
The most common stream of tokens where every token is buffered up
and tokens are filtered for a certain channel (the parser will only
see these tokens).
|
ConsoleErrorListener | |
DefaultErrorStrategy |
This is the default error handling mechanism for ANTLR parsers
and tree parsers.
|
DiagnosticErrorListener | |
Lexer |
A lexer is recognizer that draws input symbols from a character stream.
|
Parser |
This is all the parsing support code essentially; most of it is error recovery stuff.
|
Parser.TrimToSizeListener | |
ParserRuleContext |
A rule invocation record for parsing.
|
ProxyErrorListener | |
Recognizer<Symbol,ATNInterpreter extends ATNSimulator> | |
RuleContext |
A rule context is a record of a single rule invocation.
|
TokenStreamRewriter |
Useful for rewriting out a buffered input token stream after doing some
augmentation or other manipulations on it.
|
UnbufferedCharStream |
Do not buffer up the entire char stream.
|
UnbufferedTokenStream<T extends Token> |
Exception | Description |
---|---|
FailedPredicateException |
A semantic predicate failed during validation.
|
InputMismatchException |
This signifies any kind of mismatched input exceptions such as
when the current input does not match the expected token.
|
LexerNoViableAltException | |
NoViableAltException |
Indicates that the parser could not decide which of two or more paths
to take based upon the remaining input.
|
RecognitionException |
The root of the ANTLR exception hierarchy.
|
Copyright © 1992-2013 ANTLR. All Rights Reserved.