Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.atn | |
org.antlr.v4.runtime.tree.xpath |
Modifier and Type | Field | Description |
---|---|---|
protected PredictionContextCache |
LexerInterpreter._sharedContextCache |
|
protected PredictionContextCache |
ParserInterpreter.sharedContextCache |
Modifier and Type | Field | Description |
---|---|---|
protected PredictionContextCache |
ATNSimulator.sharedContextCache |
The context cache maps all PredictionContext objects that are equals()
to a single cached copy.
|
Modifier and Type | Method | Description |
---|---|---|
PredictionContextCache |
ATNSimulator.getSharedContextCache() |
Modifier and Type | Method | Description |
---|---|---|
static PredictionContext |
PredictionContext.getCachedContext(PredictionContext context,
PredictionContextCache contextCache,
IdentityHashMap<PredictionContext,PredictionContext> visited) |
Constructor | Description |
---|---|
ATNSimulator(ATN atn,
PredictionContextCache sharedContextCache) |
|
LexerATNSimulator(ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
|
LexerATNSimulator(Lexer recog,
ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
|
ParserATNSimulator(ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
Testing only!
|
ParserATNSimulator(Parser parser,
ATN atn,
DFA[] decisionToDFA,
PredictionContextCache sharedContextCache) |
Modifier and Type | Field | Description |
---|---|---|
protected static PredictionContextCache |
XPathLexer._sharedContextCache |
Copyright © 1992–2018 ANTLR. All rights reserved.