Uses of Class
org.antlr.v4.runtime.Recognizer
-
Packages that use Recognizer Package Description org.antlr.v4.runtime org.antlr.v4.runtime.atn org.antlr.v4.runtime.tree.xpath -
-
Uses of Recognizer in org.antlr.v4.runtime
Subclasses of Recognizer in org.antlr.v4.runtime Modifier and Type Class Description class
Lexer
A lexer is recognizer that draws input symbols from a character stream.class
LexerInterpreter
class
Parser
This is all the parsing support code essentially; most of it is error recovery stuff.class
ParserInterpreter
A parser simulator that mimics what ANTLR's generated parser code does.Methods in org.antlr.v4.runtime that return Recognizer Modifier and Type Method Description Recognizer<?,?>
RecognitionException. getRecognizer()
Gets theRecognizer
where this exception occurred.Methods in org.antlr.v4.runtime with parameters of type Recognizer Modifier and Type Method Description void
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)
String
CommonToken. toString(Recognizer<?,?> r)
String
RuleContext. toString(Recognizer<?,?> recog)
String
RuleContext. toString(Recognizer<?,?> recog, RuleContext stop)
Constructors in org.antlr.v4.runtime with parameters of type Recognizer Constructor Description RecognitionException(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 Recognizer Modifier and Type Method Description boolean
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
SemanticContext.AND. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)
SemanticContext
SemanticContext. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)
Evaluate the precedence predicates for the context and reduce the result.SemanticContext
SemanticContext.OR. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)
SemanticContext
SemanticContext.PrecedencePredicate. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)
String
ATNConfig. toString(Recognizer<?,?> recog, boolean showAlt)
String
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.xpath Modifier and Type Class Description class
XPathLexer
Mimic the old XPathLexer from .g4 fileMethods in org.antlr.v4.runtime.tree.xpath with parameters of type Recognizer Modifier and Type Method Description void
XPathLexerErrorListener. syntaxError(Recognizer<?,?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e)
-