Uses of Class
org.antlr.v4.runtime.Recognizer
Packages that use Recognizer
Package
Description
-
Uses of Recognizer in org.antlr.v4.runtime
Subclasses of Recognizer in org.antlr.v4.runtimeModifier and TypeClassDescriptionclass
A lexer is recognizer that draws input symbols from a character stream.class
class
This is all the parsing support code essentially; most of it is error recovery stuff.class
A parser simulator that mimics what ANTLR's generated parser code does.Fields in org.antlr.v4.runtime declared as RecognizerModifier and TypeFieldDescriptionprivate final Recognizer
<?, ?> RecognitionException.recognizer
TheRecognizer
where this exception originated.Methods in org.antlr.v4.runtime that return RecognizerModifier and TypeMethodDescriptionRecognizer
<?, ?> RecognitionException.getRecognizer()
Gets theRecognizer
where this exception occurred.Methods in org.antlr.v4.runtime with parameters of type RecognizerModifier and TypeMethodDescriptionvoid
ANTLRErrorListener.syntaxError
(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) Upon syntax error, notify any interested parties.void
BaseErrorListener.syntaxError
(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) void
ConsoleErrorListener.syntaxError
(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) Upon syntax error, notify any interested parties.void
ProxyErrorListener.syntaxError
(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) CommonToken.toString
(Recognizer<?, ?> r) final String
RuleContext.toString
(Recognizer<?, ?> recog) RuleContext.toString
(Recognizer<?, ?> recog, RuleContext stop) Constructors in org.antlr.v4.runtime with parameters of type RecognizerModifierConstructorDescriptionRecognitionException
(String message, Recognizer<?, ?> recognizer, IntStream input, ParserRuleContext ctx) RecognitionException
(Recognizer<?, ?> recognizer, IntStream input, ParserRuleContext ctx) -
Uses of Recognizer in org.antlr.v4.runtime.atn
Methods in org.antlr.v4.runtime.atn with parameters of type RecognizerModifier and TypeMethodDescriptionboolean
SemanticContext.AND.eval
(Recognizer<?, ?> parser, RuleContext parserCallStack) For context independent predicates, we evaluate them without a local context (i.e., null context).boolean
SemanticContext.Empty.eval
(Recognizer<?, ?> parser, RuleContext parserCallStack) abstract boolean
SemanticContext.eval
(Recognizer<?, ?> parser, RuleContext parserCallStack) For context independent predicates, we evaluate them without a local context (i.e., null context).boolean
SemanticContext.OR.eval
(Recognizer<?, ?> parser, RuleContext parserCallStack) For context independent predicates, we evaluate them without a local context (i.e., null context).boolean
SemanticContext.PrecedencePredicate.eval
(Recognizer<?, ?> parser, RuleContext parserCallStack) boolean
SemanticContext.Predicate.eval
(Recognizer<?, ?> parser, RuleContext parserCallStack) SemanticContext.AND.evalPrecedence
(Recognizer<?, ?> parser, RuleContext parserCallStack) SemanticContext.evalPrecedence
(Recognizer<?, ?> parser, RuleContext parserCallStack) Evaluate the precedence predicates for the context and reduce the result.SemanticContext.OR.evalPrecedence
(Recognizer<?, ?> parser, RuleContext parserCallStack) SemanticContext.PrecedencePredicate.evalPrecedence
(Recognizer<?, ?> parser, RuleContext parserCallStack) ATNConfig.toString
(Recognizer<?, ?> recog, boolean showAlt) PredictionContext.toString
(Recognizer<?, ?> recog) String[]
PredictionContext.toStrings
(Recognizer<?, ?> recognizer, int currentState) String[]
PredictionContext.toStrings
(Recognizer<?, ?> recognizer, PredictionContext stop, int currentState) -
Uses of Recognizer in org.antlr.v4.runtime.tree.xpath
Subclasses of Recognizer in org.antlr.v4.runtime.tree.xpathMethods in org.antlr.v4.runtime.tree.xpath with parameters of type RecognizerModifier and TypeMethodDescriptionvoid
XPathLexerErrorListener.syntaxError
(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) -
Uses of Recognizer in org.antlr.v4.tool
Subclasses of Recognizer in org.antlr.v4.toolModifier and TypeClassDescriptionclass
A heavier weightParserInterpreter
that creates parse trees that track alternative numbers for subtree roots.