Modifier and Type | Field | Description |
---|---|---|
ATN |
LeftRecursionDetector.atn |
Constructor | Description |
---|---|
LeftRecursionDetector(Grammar g,
ATN atn) |
Modifier and Type | Field | Description |
---|---|---|
ATN |
ParserATNFactory.atn |
Modifier and Type | Method | Description |
---|---|---|
ATN |
ATNFactory.createATN() |
|
ATN |
LexerATNFactory.createATN() |
|
ATN |
ParserATNFactory.createATN() |
Modifier and Type | Method | Description |
---|---|---|
static void |
ATNOptimizer.optimize(Grammar g,
ATN atn) |
Constructor | Description |
---|---|
TailEpsilonRemover(ATN atn) |
Constructor | Description |
---|---|
SerializedATN(OutputModelFactory factory,
ATN atn) |
Modifier and Type | Method | Description |
---|---|---|
String |
SwiftTarget.serializeTojson(ATN atn) |
Modifier and Type | Field | Description |
---|---|---|
protected ATN |
LexerInterpreter.atn |
|
protected ATN |
ParserInterpreter.atn |
Modifier and Type | Method | Description |
---|---|---|
ATN |
LexerInterpreter.getATN() |
|
ATN |
ParserInterpreter.getATN() |
|
abstract ATN |
Recognizer.getATN() |
Get the
ATN used by the recognizer for prediction. |
ATN |
Parser.getATNWithBypassAlts() |
The ATN with bypass alternatives is expensive to create so we create it
lazily.
|
Constructor | 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 | Description |
---|---|---|
ATN |
ATNSerializer.atn |
|
ATN |
ATNSimulator.atn |
|
ATN |
ATNState.atn |
Which ATN are we in?
|
ATN |
LL1Analyzer.atn |
Modifier and Type | Method | Description |
---|---|---|
ATN |
ATNDeserializer.deserialize(char[] data) |
|
static ATN |
ATNSimulator.deserialize(char[] data) |
Deprecated.
Use
ATNDeserializer.deserialize(char[]) instead. |
Modifier and Type | Method | Description |
---|---|---|
protected Transition |
ATNDeserializer.edgeFactory(ATN atn,
int type,
int src,
int trg,
int arg1,
int arg2,
int arg3,
List<IntervalSet> sets) |
|
static Transition |
ATNSimulator.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 | 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 | Description |
---|---|---|
static ATN |
XPathLexer._ATN |
Modifier and Type | Method | Description |
---|---|---|
ATN |
XPathLexer.getATN() |
Modifier and Type | Field | Description |
---|---|---|
ATN |
Grammar.atn |
The ATN that represents the grammar with edges labelled with tokens
or epsilon.
|
Modifier and Type | Method | Description |
---|---|---|
ATN |
Grammar.getATN() |
Constructor | Description |
---|---|
GrammarParserInterpreter(Grammar g,
String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
ATN atn,
TokenStream input) |
|
GrammarParserInterpreter(Grammar g,
ATN atn,
TokenStream input) |
Copyright © 1992–2018 ANTLR. All rights reserved.