Home
last modified time | relevance | path

Searched refs:stateNumber (Results 1 – 13 of 13) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Dfa/
H A DDFAState.php41 public $stateNumber; variable in Antlr\\Antlr4\\Runtime\\Dfa\\DFAState
96 public function __construct(?ATNConfigSet $configs = null, int $stateNumber = -1) argument
99 $this->stateNumber = $stateNumber;
131 $s = \sprintf('%d:%s', $this->stateNumber, (string) $this->configs);
H A DDFASerializer.php43 if ($t !== null && $t->stateNumber !== 0x7FFFFFFF) {
70 $state->stateNumber,
H A DDFA.php150 return $a->stateNumber - $b->stateNumber;
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DATN.php135 $state->stateNumber = \count($this->states);
143 unset($this->states[$state->stateNumber]);
180 * @param int $stateNumber The ATN state number
188 public function getExpectedTokens(int $stateNumber, ?RuleContext $context) : IntervalSet argument
190 if ($stateNumber < 0 || $stateNumber >= \count($this->states)) {
194 $s = $this->states[$stateNumber];
H A DPredictionMode.php506 && $left->state->stateNumber === $right->state->stateNumber
516 return Hasher::hash($value->state->stateNumber, $value->context);
H A DLexerATNConfig.php49 $this->state->stateNumber,
H A DLexerATNSimulator.php277 … $this->log[] = \sprintf('reuse state %d edge to %d', $s->stateNumber, $target->stateNumber);
574 … $newContext = SingletonPredictionContext::create($config->context, $t->followState->stateNumber);
820 $newState->stateNumber = $dfa->states->count();
H A DATNConfig.php150 $this->state->stateNumber,
H A DParserATNSimulator.php1267 $statesFromAlt1[$config->state->stateNumber] = $config->context;
1289 $context = $statesFromAlt1[$config->state->stateNumber] ?? null;
1933 $blockEndStateNum = $decisionStartState->endState->stateNumber;
2195 … $newContext = SingletonPredictionContext::create($config->context, $returnState->stateNumber);
2398 $D->stateNumber = $dfa->states->count();
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/States/
H A DATNState.php54 public $stateNumber = self::INVALID_STATE_NUMBER; variable in Antlr\\Antlr4\\Runtime\\Atn\\States\\ATNState
87 && $this->stateNumber === $other->stateNumber;
158 return (string) $this->stateNumber;
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DRecognizer.php33 private $stateNumber = -1; variable in Antlr\\Antlr4\\Runtime\\Recognizer
202 return $this->stateNumber;
215 $this->stateNumber = $atnState;
H A DLL1Analyzer.php253 … $newContext = SingletonPredictionContext::create($context, $t->followState->stateNumber);
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/
H A DPredictionContext.php96 return SingletonPredictionContext::create($parent, $transition->followState->stateNumber);