Package | Description |
---|---|
org.antlr.v4.analysis | |
org.antlr.v4.automata | |
org.antlr.v4.codegen.model | |
org.antlr.v4.runtime | |
org.antlr.v4.runtime.atn | |
org.antlr.v4.runtime.tree.xpath | |
org.antlr.v4.tool |
Modifier and Type | Field and Description |
---|---|
ATN |
LeftRecursionDetector.atn |
Constructor and Description |
---|
LeftRecursionDetector(Grammar g,
ATN atn) |
Modifier and Type | Field and Description |
---|---|
ATN |
ParserATNFactory.atn |
Modifier and Type | Method and Description |
---|---|
ATN |
LexerATNFactory.createATN() |
ATN |
ParserATNFactory.createATN() |
ATN |
ATNFactory.createATN() |
Modifier and Type | Method and Description |
---|---|
static void |
ATNOptimizer.optimize(Grammar g,
ATN atn) |
Constructor and Description |
---|
TailEpsilonRemover(ATN atn) |
Constructor and Description |
---|
SerializedATN(OutputModelFactory factory,
ATN atn) |
Modifier and Type | Field and Description |
---|---|
protected ATN |
LexerInterpreter.atn |
protected ATN |
ParserInterpreter.atn |
Modifier and Type | Method and Description |
---|---|
abstract ATN |
Recognizer.getATN()
Get the
ATN used by the recognizer for prediction. |
ATN |
LexerInterpreter.getATN() |
ATN |
ParserInterpreter.getATN() |
ATN |
Parser.getATNWithBypassAlts()
The ATN with bypass alternatives is expensive to create so we create it
lazily.
|
Constructor and Description |
---|
LexerInterpreter(String grammarFileName,
Collection<String> tokenNames,
Collection<String> ruleNames,
Collection<String> modeNames,
ATN atn,
CharStream input)
Deprecated.
|
LexerInterpreter(String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
Collection<String> modeNames,
ATN atn,
CharStream input) |
ParserInterpreter(String grammarFileName,
Collection<String> tokenNames,
Collection<String> ruleNames,
ATN atn,
TokenStream input)
Deprecated.
|
ParserInterpreter(String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
ATN atn,
TokenStream input) |
Modifier and Type | Field and Description |
---|---|
ATN |
ATNState.atn
Which ATN are we in?
|
ATN |
ATNSimulator.atn |
ATN |
ATNSerializer.atn |
ATN |
LL1Analyzer.atn |
Modifier and Type | Method and Description |
---|---|
static ATN |
ATNSimulator.deserialize(char[] data)
Deprecated.
Use
ATNDeserializer.deserialize(char[]) instead. |
ATN |
ATNDeserializer.deserialize(char[] data) |
Modifier and Type | Method and Description |
---|---|
static Transition |
ATNSimulator.edgeFactory(ATN atn,
int type,
int src,
int trg,
int arg1,
int arg2,
int arg3,
List<IntervalSet> sets)
|
protected Transition |
ATNDeserializer.edgeFactory(ATN atn,
int type,
int src,
int trg,
int arg1,
int arg2,
int arg3,
List<IntervalSet> sets) |
static PredictionContext |
PredictionContext.fromRuleContext(ATN atn,
RuleContext outerContext)
Convert a
RuleContext tree to a PredictionContext graph. |
static String |
ATNSerializer.getDecoded(ATN atn,
List<String> tokenNames) |
static IntegerList |
ATNSerializer.getSerialized(ATN atn) |
static char[] |
ATNSerializer.getSerializedAsChars(ATN atn) |
static String |
ATNSerializer.getSerializedAsString(ATN atn)
Used by Java target to encode short/int array as chars in string.
|
protected void |
ATNDeserializer.markPrecedenceDecisions(ATN atn)
Analyze the
StarLoopEntryState states in the specified ATN to set
the StarLoopEntryState.isPrecedenceDecision field to the
correct value. |
protected void |
ATNDeserializer.verifyATN(ATN atn) |
Constructor and Description |
---|
ATNSerializer(ATN atn) |
ATNSerializer(ATN atn,
List<String> tokenNames) |
ATNSimulator(ATN atn,
PredictionContextCache sharedContextCache) |
LexerATNSimulator(ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
LexerATNSimulator(Lexer recog,
ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
LL1Analyzer(ATN atn) |
ParserATNSimulator(ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache)
Testing only!
|
ParserATNSimulator(Parser parser,
ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
Modifier and Type | Field and Description |
---|---|
static ATN |
XPathLexer._ATN |
Modifier and Type | Method and Description |
---|---|
ATN |
XPathLexer.getATN() |
Modifier and Type | Field and Description |
---|---|
ATN |
Grammar.atn
The ATN that represents the grammar with edges labelled with tokens
or epsilon.
|
Modifier and Type | Method and Description |
---|---|
ATN |
Grammar.getATN() |
Constructor and Description |
---|
GrammarParserInterpreter(Grammar g,
ATN atn,
TokenStream input) |
GrammarParserInterpreter(Grammar g,
String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
ATN atn,
TokenStream input) |
Copyright © 1992–2020 ANTLR. All rights reserved.