Lines Matching refs:endState
276 $endState = $atn->states[$pair[1]];
278 if (!$endState instanceof BlockEndState) {
282 $pair[0]->endState = $endState;
430 if ($state->endState === null) {
435 if ($state->endState->startState !== null) {
439 $state->endState->startState = $state;
526 $bypassStart->endState = $bypassStop;
534 $endState = null;
538 $endState = $state;
558 $endState = $atn->ruleToStopState[$idx];
569 if ($endState !== null && $transition->target->equals($endState)) {
587 if ($endState === null) {
591 $bypassStop->addTransition(new EpsilonTransition($endState));
702 $this->checkCondition($state->endState !== null);