Lines Matching defs:pred
100 * likely LL(1) + pred eval. Easier to do the whole SLL unless error and retry
1336 $pred = $altToPred[$i];
1338 if ($pred === null) {
1340 } elseif ($pred !== SemanticContext::none()) {
1374 $pred = $altToPred[$i];
1378 $pairs[] = new PredPrediction($pred, $i);
1381 if ($pred !== SemanticContext::none()) {
1454 // Is there a syntactically valid path with a failed pred?
1484 * those that have preds evaluating to true/false. If no pred, assume
1485 * true pred and include in succeeded set. Returns Pair of sets.
1535 if ($pair->pred === SemanticContext::none()) {
1548 $pair->pred,
1555 $this->log[] = \sprintf('eval pred $pair = %s"', $predicateEvaluationResult);
1575 SemanticContext $pred,
1580 return $pred->eval($this->parser, $parserCallStack);
2081 'context surrounding pred is [%s]',
2108 $c = new ATNConfig($config, $pt->target);// no pred context
2117 $this->log[] = \sprintf('Config from pred transition=%s', (string) $c);
2141 'Context surrounding pred is [%s]',
2167 $c = new ATNConfig($config, $pt->target);// no pred context
2178 $this->log[] = \sprintf('Config from pred transition=%s', (string) $c);