Home
last modified time | relevance | path

Searched refs:mergeCache (Results 1 – 3 of 3) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/
H A DPredictionContext.php132 ?DoubleKeyMap $mergeCache argument
140 return self::mergeSingletons($a, $b, $rootIsWildcard, $mergeCache);
168 return self::mergeArrays($a, $b, $rootIsWildcard, $mergeCache);
197 ?DoubleKeyMap $mergeCache argument
199 if ($mergeCache !== null) {
200 $previous = $mergeCache->getByTwoKeys($a, $b);
206 $previous = $mergeCache->getByTwoKeys($b, $a);
216 if ($mergeCache !== null) {
217 $mergeCache->set($a, $b, $rootMerge);
228 $parent = self::merge($a->parent, $b->parent, $rootIsWildcard, $mergeCache);
407 mergeArrays(ArrayPredictionContext $a, ArrayPredictionContext $b, bool $rootIsWildcard, DoubleKeyMap $mergeCache) global() argument
[all...]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DParserATNSimulator.php276 protected $mergeCache; variable in Antlr\\Antlr4\\Runtime\\Atn\\ParserATNSimulator
416 $this->mergeCache = null; // wack cache after each prediction
896 if ($this->mergeCache === null) {
897 $this->mergeCache = new DoubleKeyMap();
946 $intermediate->add($cfg, $this->mergeCache);
1030 $reach->add($lValue, $this->mergeCache);
1075 $result->add($config, $this->mergeCache);
1085 $result->add(new ATNConfig($config, $endOfRuleState), $this->mergeCache);
1272 $this->mergeCache
1275 $configSet->add($config, $this->mergeCache);
[all...]
H A DATNConfigSet.php139 public function add(ATNConfig $config, ?DoubleKeyMap $mergeCache = null) : bool argument
175 $merged = PredictionContext::merge($existing->context, $config->context, $rootIsWildcard, $mergeCache);