Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.atn |
Modifier and Type | Field and Description |
---|---|
protected PredictionContextCache |
LexerInterpreter._sharedContextCache |
protected PredictionContextCache |
ParserInterpreter.sharedContextCache |
Modifier and Type | Field and Description |
---|---|
protected PredictionContextCache |
ATNSimulator.sharedContextCache
The context cache maps all PredictionContext objects that are equals()
to a single cached copy.
|
Modifier and Type | Method and Description |
---|---|
PredictionContextCache |
ATNSimulator.getSharedContextCache() |
Modifier and Type | Method and Description |
---|---|
static PredictionContext |
PredictionContext.getCachedContext(PredictionContext context,
PredictionContextCache contextCache,
IdentityHashMap<PredictionContext,PredictionContext> visited) |
Constructor and 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–2018 ANTLR. All rights reserved.