Uses of Package
org.antlr.v4.runtime
-
Classes in org.antlr.v4.runtime used by org.antlr.v4.runtime Class 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.ANTLRInputStream Deprecated.as of 4.7 Please useCharStreams
interface.BaseErrorListener Provides an empty default implementation ofANTLRErrorListener
.BufferedTokenStream This implementation ofTokenStream
loads tokens from aTokenSource
on-demand, and places the tokens in a buffer to provide access to any previous token by index.CharStream A source of characters for an ANTLR lexer.CodePointBuffer CodePointBuffer.Builder CodePointBuffer.Type CodePointCharStream Alternative toANTLRInputStream
which treats the input as a series of Unicode code points, instead of a series of UTF-16 code units.CommonToken ConsoleErrorListener DefaultErrorStrategy This is the default implementation ofANTLRErrorStrategy
used for error reporting and recovery in ANTLR parsers.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.InterpreterRuleContext This class extendsParserRuleContext
by allowing the value ofInterpreterRuleContext.getRuleIndex()
to be explicitly set for the context.IntStream A simple stream of symbols whose values are represented as integers.Lexer A lexer is recognizer that draws input symbols from a character stream.LexerNoViableAltException NoViableAltException Indicates that the parser could not decide which of two or more paths to take based upon the remaining input.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.RecognitionException The root of the ANTLR exception hierarchy.Recognizer RuleContext A rule context is a record of a single rule invocation.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 The default mechanism for creating tokens.TokenSource A source of tokens must provide a sequence of tokens viaTokenSource.nextToken()
and also must reveal it's source of characters;CommonToken
's text is computed from aCharStream
; it only store indices into the char stream.TokenStream TokenStreamRewriter.RewriteOperation Vocabulary This interface provides information about the vocabulary used by a recognizer.VocabularyImpl This class provides a default implementation of theVocabulary
interface.WritableToken -
Classes in org.antlr.v4.runtime used by org.antlr.v4.runtime.atn Class Description CharStream A source of characters for an ANTLR lexer.Lexer A lexer is recognizer that draws input symbols from a character stream.NoViableAltException Indicates that the parser could not decide which of two or more paths to take based upon the remaining input.Parser This is all the parsing support code essentially; most of it is error recovery stuff.ParserRuleContext A rule invocation record for parsing.Recognizer RuleContext A rule context is a record of a single rule invocation.TokenStream -
Classes in org.antlr.v4.runtime used by org.antlr.v4.runtime.dfa Class Description Vocabulary This interface provides information about the vocabulary used by a recognizer. -
Classes in org.antlr.v4.runtime used by org.antlr.v4.runtime.misc Class Description Vocabulary This interface provides information about the vocabulary used by a recognizer. -
Classes in org.antlr.v4.runtime used by org.antlr.v4.runtime.tree Class Description Parser This is all the parsing support code essentially; most of it is error recovery stuff.ParserRuleContext A rule invocation record for parsing.RuleContext A rule context is a record of a single rule invocation.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. -
Classes in org.antlr.v4.runtime used by org.antlr.v4.runtime.tree.pattern Class Description CharStream A source of characters for an ANTLR lexer.CommonToken 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.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.TokenSource A source of tokens must provide a sequence of tokens viaTokenSource.nextToken()
and also must reveal it's source of characters;CommonToken
's text is computed from aCharStream
; it only store indices into the char stream.WritableToken -
Classes in org.antlr.v4.runtime used by org.antlr.v4.runtime.tree.xpath Class Description ANTLRErrorListener How to emit recognition errors.BaseErrorListener Provides an empty default implementation ofANTLRErrorListener
.CharStream A source of characters for an ANTLR lexer.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.RecognitionException The root of the ANTLR exception hierarchy.Recognizer 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.TokenSource A source of tokens must provide a sequence of tokens viaTokenSource.nextToken()
and also must reveal it's source of characters;CommonToken
's text is computed from aCharStream
; it only store indices into the char stream.Vocabulary This interface provides information about the vocabulary used by a recognizer.