Home
last modified time | relevance | path

Searched refs:ArrayPredictionContext (Results 1 – 2 of 2) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/
H A DPredictionContext.php157 $a = ArrayPredictionContext::fromOne($a);
161 $b = ArrayPredictionContext::fromOne($b);
164 if (!$a instanceof ArrayPredictionContext || !$b instanceof ArrayPredictionContext) {
273 $apc = new ArrayPredictionContext($parents, $payloads);
295 $a_ = new ArrayPredictionContext($parents, $payloads);
364 return new ArrayPredictionContext($parents, $payloads);
372 return new ArrayPredictionContext($parents, $payloads);
380 * Merge two {@see ArrayPredictionContext} instances.
404 ArrayPredictionContext
[all...]
H A DArrayPredictionContext.php10 final class ArrayPredictionContext extends PredictionContext class
14 * {@see ArrayPredictionContext::empty()} and non-empty. We merge
15 * {@see ArrayPredictionContext::empty()} by using null parent and
16 * returnState === {@see ArrayPredictionContext::EMPTY_RETURN_STATE}.
24 * {@see ArrayPredictionContext::EMPTY_RETURN_STATE} is always last.
44 return new ArrayPredictionContext([$ctx->parent], [$ctx->returnState]);