Lines Matching defs:decision

55  * created during prediction beginning in the decision rule. For example, if
66 * don't get a conflict, it implies that the decision is sensitive to the outer
106 * dip into the outer context by falling off the end of the decision state rule,
161 * All instances of the same parser share the same decision DFAs through a
173 * decision when setting the {@see DFAState::$edges} field.
175 * decision when looking up a DFA state to see if it already exists. We must
212 * set, the decision is SLL. If the LL set has size > 1, then that decision
324 public function adaptivePredict(TokenStream $input, int $decision, ParserRuleContext $outerContext) : int
330 'adaptivePredict decision %d exec LA(1)==%s line %d:%d',
331 $decision,
342 $dfa = $this->decisionToDFA[$decision];
348 // Now we are certain to have a specific decision's DFA, but do we still need an initial state?
363 'predictATN decision %d exec LA(1)==%s, outerContext=%s',
364 $dfa->decision,
465 'execATN decision %d exec LA(1)==%s line %d:%d',
466 $dfa->decision,
495 * at least for SLL decision. Full LL doesn't dip into outer
498 * decision; better error message. Also, no reachable target
703 $decisionState = $this->atn->getDecisionState($dfa->decision);
778 * at least for LL decision. Full LL doesn't dip into outer
781 * decision; better error message. Also, no reachable target
850 // without conflict, then we know that it's a full LL decision not SLL.
904 * of the decision rule (local context) or end of the start rule (full
997 * decision rule (local context) or end of the start rule (full
1000 * EOF transitions following the end of the decision or start rule.
1132 * The (..)* loop has a decision for the inner block as well as an enter
1133 * or exit decision, which is what concerns us here. At the 1st + of input
1138 * it back to the enter or exit decision. In this case, we know that we
1160 * are both true, we have the option to evaluate them early in the decision
1401 * decision entry rule. Choosing such an alternative ensures that the
1406 * - If a syntactically valid path or paths reach the end of the decision rule and
1415 * capable of successfully parsing to the end of the decision rule is
1420 * the parser from successfully parsing the decision rule, which helps
1855 * decision point, decision d=2, compute-start-state performs
1887 * making a decision in stat seeing through expr. It is only when
2426 'reportAttemptingFullContext decision = %d:%s, input = %s',
2427 $dfa->decision,
2457 'reportContextSensitivity decision = %d:%s, input = %s',
2458 $dfa->decision,