Lines Matching refs:existing
129 * Adding a new config means merging contexts with existing configs for
157 /** @var ATNConfig $existing */
158 $existing = $this->configLookup->getOrAdd($config);
160 if ($existing->equals($config)) {
171 if ($existing->context === null || $config->context === null) {
175 $merged = PredictionContext::merge($existing->context, $config->context, $rootIsWildcard, $mergeCache);
177 // No need to check for existing->context, config->context in cache
180 $existing->reachesIntoOuterContext = \max(
181 $existing->reachesIntoOuterContext,
187 $existing->setPrecedenceFilterSuppressed(true);
191 $existing->context = $merged;