| Modifier and Type | Interface and Description |
|---|---|
| public interface | |
| public interface | ANTLRErrorStrategy
The interface for defining strategies to deal with syntax errors encountered during a parse by ANTLR-generated parsers. |
| public interface | CharStream
A source of characters for an ANTLR lexer. |
| public interface | IntStream
A simple stream of symbols whose values are represented as integers. |
| public interface | ParserErrorListener
How to emit recognition errors for parsers. |
| public interface | 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. |
| public interface | TokenFactory
The default mechanism for creating tokens. |
| public interface | TokenSource
A source of tokens must provide a sequence of tokens via |
| public interface | |
| public interface | |
| public interface | Vocabulary
This interface provides information about the vocabulary used by a recognizer. |
| public interface |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | RuleDependencies
This annotation allows multiple |
| public @interface | RuleDependency
Declares a dependency upon a grammar rule, along with a set of zero or more dependent rules. |
| public @interface |
| Modifier and Type | Class and Description |
|---|---|
| public class | ANTLRFileStream
Deprecated
as of 4.7 Please use This is an CharStreams interface.
ANTLRInputStream that is loaded from a file all at once
when you construct the object.
|
| public class | ANTLRInputStream
Deprecated
as of 4.7 Please use Vacuum all input from a CharStreams interface.
Reader/InputStream and then treat it
like a char[] buffer.
|
| public class | BailErrorStrategy
This implementation of |
| public class | BaseErrorListener
Provides an empty default implementation of |
| public class | BufferedTokenStream
This implementation of |
| public class | CodePointBuffer
Wrapper for |
| public abstract class | CodePointCharStream
Alternative to |
| public class | |
| public class | CommonTokenFactory
This default implementation of |
| public class | CommonTokenStream
This class extends |
| public class | |
| public class | DefaultErrorStrategy
This is the default implementation of |
| public class | DiagnosticErrorListener
This implementation of |
| public class | FailedPredicateException
A semantic predicate failed during validation. |
| public class | InputMismatchException
This signifies any kind of mismatched input exceptions such as when the current input does not match the expected token. |
| public class | InterpreterRuleContext
This class extends |
| public abstract class | Lexer
A lexer is recognizer that draws input symbols from a character stream. |
| public class | |
| public class | |
| public class | ListTokenSource
Provides an implementation of |
| public class | NoViableAltException
Indicates that the parser could not decide which of two or more paths to take based upon the remaining input. |
| public abstract class | Parser
This is all the parsing support code essentially; most of it is error recovery stuff. |
| public class | ParserInterpreter
A parser simulator that mimics what ANTLR's generated parser code does. |
| public class | ParserRuleContext
A rule invocation record for parsing. |
| public class | ProxyErrorListener<Symbol>
This implementation of |
| public class | |
| public class | RecognitionException
The root of the ANTLR exception hierarchy. |
| public abstract class | |
| public class | RuleContext
A rule context is a record of a single rule invocation. |
| public class | RuleContextWithAltNum
A handy class for use with options {contextSuperClass=org.antlr.v4.runtime.RuleContextWithAltNum;} that provides a backing field / impl for the outer alternative number matched for an internal parse tree node. |
| public class | TokenStreamRewriter
Useful for rewriting out a buffered input token stream after doing some augmentation or other manipulations on it. |
| public class | UnbufferedCharStream
Do not buffer up the entire char stream. |
| public class | |
| public class | VocabularyImpl
This class provides a default implementation of the |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | CharStreams
This class represents the primary interface for creating |
| public enum |