| Package | Description |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.runtime.atn | |
| org.antlr.v4.runtime.dfa | |
| org.antlr.v4.runtime.tree.xpath |
| Modifier and Type | Field and Description |
|---|---|
protected ATN |
ParserInterpreter.atn |
protected ATN |
LexerInterpreter.atn |
| Modifier and Type | Method and Description |
|---|---|
ATN |
Recognizer.getATN()
Get the
ATN used by the recognizer for prediction. |
ATN |
ParserInterpreter.getATN() |
ATN |
LexerInterpreter.getATN() |
ATN |
Parser.getATNWithBypassAlts()
The ATN with bypass alternatives is expensive to create so we create it
lazily.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Lexer.validateInputStream(ATN atn,
CharStream input) |
| 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)
Deprecated.
|
LexerInterpreter(String grammarFileName,
Vocabulary vocabulary,
Collection<String> ruleNames,
Collection<String> channelNames,
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 |
LL1Analyzer.atn |
ATN |
ATNState.atn
Which ATN are we in?
|
ATN |
ATNSimulator.atn |
ATN |
ATNSerializer.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) |
static PredictionContext |
PredictionContext.fromRuleContext(ATN atn,
RuleContext outerContext,
boolean fullContext) |
static String |
ATNSerializer.getDecoded(ATN atn,
List<String> ruleNames,
List<String> tokenNames) |
static IntegerList |
ATNSerializer.getSerialized(ATN atn,
List<String> ruleNames) |
static char[] |
ATNSerializer.getSerializedAsChars(ATN atn,
List<String> ruleNames) |
static String |
ATNSerializer.getSerializedAsString(ATN atn,
List<String> ruleNames)
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.precedenceRuleDecision field to the
correct value. |
protected void |
ATNDeserializer.verifyATN(ATN atn) |
| Constructor and Description |
|---|
ATNSerializer(ATN atn,
List<String> ruleNames) |
ATNSerializer(ATN atn,
List<String> ruleNames,
List<String> tokenNames) |
ATNSimulator(ATN atn) |
LexerATNSimulator(ATN atn) |
LexerATNSimulator(Lexer recog,
ATN atn) |
LL1Analyzer(ATN atn) |
ParserATNSimulator(ATN atn)
Testing only!
|
ParserATNSimulator(Parser parser,
ATN atn) |
| Modifier and Type | Method and Description |
|---|---|
void |
DFAState.setContextSensitive(ATN atn) |
| Constructor and Description |
|---|
DFASerializer(DFA dfa,
String[] tokenNames,
String[] ruleNames,
ATN atn)
Deprecated.
Use
DFASerializer(DFA, Vocabulary, String[], ATN) instead. |
DFASerializer(DFA dfa,
Vocabulary vocabulary,
String[] ruleNames,
ATN atn) |
| Modifier and Type | Field and Description |
|---|---|
static ATN |
XPathLexer._ATN |
Copyright © 1992–2024 Daniel Sun. All rights reserved.