| Package | Description |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.runtime.atn |
| 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) |
Copyright © 1992–2019 ANTLR. All rights reserved.