Searched refs:DFAState (Results 1 – 7 of 7) sorted by relevance
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Dfa/ |
H A D | DFA.php | 23 /** @var DFAState|null */ 54 $precedenceState = new DFAState(); 66 * The {@see DFAState::$edges} array for this start state contains outgoing 84 * @return DFAState|null The start state corresponding to the specified 90 public function getPrecedenceStartState(int $precedence) : ?DFAState 111 * @param DFAState $startState The start state corresponding to the 116 public function setPrecedenceStartState(int $precedence, DFAState $startState) : void 143 * @return array<DFAState> 149 \usort($list, static function (DFAState $a, DFAState [all...] |
H A D | DFASerializer.php | 35 /** @var DFAState $state */ 40 /** @var DFAState $t */ 61 protected function getStateString(DFAState $state) : string
|
H A D | DFAState.php | 38 final class DFAState implements Hashable class 50 * @var \SplFixedArray<DFAState>|null 60 * `{@see DFAState::$predicates} !== null` or {@see DFAState::$requiresFullContext}. 82 * {@see DFAState::$requiresFullContext} is `false` since full context 84 * {@see DFAState::$prediction} is {@see ATN::INVALID_ALT_NUMBER}. 86 * We only use these for non-{@see DFAState::$requiresFullContext} bu 103 * Two {@see DFAState} instances are equal if their ATN configuration sets 113 * {@see DFAState::$stateNumber} is irrelevant.
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/ |
H A D | SimState.php | 7 use Antlr\Antlr4\Runtime\Dfa\DFAState; alias 36 /** @var DFAState|null */ 77 public function getDfaState() : ?DFAState 82 public function setDfaState(?DFAState $dfaState) : void
|
H A D | LexerATNSimulator.php | 15 use Antlr\Antlr4\Runtime\Dfa\DFAState; alias 187 protected function execATN(CharStream $input, DFAState $ds0) : int 261 * @param DFAState $s The current DFA state 264 * @return DFAState|null The existing target DFA state for the given input symbol 268 protected function getExistingTargetState(DFAState $s, int $t) : ?DFAState 288 * @param DFAState $s The current DFA state 291 * @return DFAState The computed target DFA state for the given input symbol 295 protected function computeTargetState(CharStream $input, DFAState $s, int $t) : DFAState [all...] |
H A D | ATNSimulator.php | 7 use Antlr\Antlr4\Runtime\Dfa\DFAState; alias 68 public static function error() : DFAState 72 return $error ?? ($error = new DFAState(new ATNConfigSet(), 0x7FFFFFFF));
|
H A D | ParserATNSimulator.php | 21 use Antlr\Antlr4\Runtime\Dfa\DFAState; alias 173 * decision when setting the {@see DFAState::$edges} field. 183 * `s.edge[t]` get the same physical target {@see DFAState}, or `null`. Once 185 * It follows the {@see DFAState::$edges} field to new targets. The DFA simulator 186 * will either find {@see DFAState::$edges} to be `null`, to be non-`null` and 399 $s0 = $this->addDFAState($dfa, new DFAState($s0_closure)); 403 $s0 = $this->addDFAState($dfa, new DFAState($s0_closure)); 456 DFAState $s0, 618 * @param DFAState $previousD The current DFA state 621 * @return DFAState|nul [all...] |