Uses of Class
org.antlr.v4.runtime.misc.DoubleKeyMap
Packages that use DoubleKeyMap
-
Uses of DoubleKeyMap in org.antlr.v4.runtime.atn
Fields in org.antlr.v4.runtime.atn declared as DoubleKeyMapModifier and TypeFieldDescriptionParserATNSimulator.mergeCache
Each prediction operation uses a cache for merge of prediction contexts.Methods in org.antlr.v4.runtime.atn with parameters of type DoubleKeyMapModifier and TypeMethodDescriptionboolean
ATNConfigSet.add
(ATNConfig config, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext> mergeCache) Adding a new config means merging contexts with existing configs for(s, i, pi, _)
, wheres
is theATNConfig.state
,i
is theATNConfig.alt
, andpi
is theATNConfig.semanticContext
.static PredictionContext
PredictionContext.merge
(PredictionContext a, PredictionContext b, boolean rootIsWildcard, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext> mergeCache) static PredictionContext
PredictionContext.mergeArrays
(ArrayPredictionContext a, ArrayPredictionContext b, boolean rootIsWildcard, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext> mergeCache) Merge twoArrayPredictionContext
instances.static PredictionContext
PredictionContext.mergeSingletons
(SingletonPredictionContext a, SingletonPredictionContext b, boolean rootIsWildcard, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext> mergeCache) Merge twoSingletonPredictionContext
instances.