Home
last modified time | relevance | path

Searched refs:DFAState (Results 1 – 7 of 7) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Dfa/
H A DDFA.php23 /** @var DFAState|null */
54 $precedenceState = new DFAState();
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
149 \usort($list, static function (DFAState $a, DFAState $b) {
H A DDFASerializer.php35 /** @var DFAState $state */
40 /** @var DFAState $t */
61 protected function getStateString(DFAState $state) : string
H A DDFAState.php38 final class DFAState implements Hashable class
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DSimState.php7 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 DLexerATNSimulator.php15 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
719 …protected function captureSimState(SimState $settings, CharStream $input, DFAState $dfaState) : vo…
727 …protected function addDFAEdgeATNConfigSet(DFAState $from, int $t, ATNConfigSet $configs) : DFAState
[all …]
H A DATNSimulator.php7 use Antlr\Antlr4\Runtime\Dfa\DFAState; alias
68 public static function error() : DFAState
72 return $error ?? ($error = new DFAState(new ATNConfigSet(), 0x7FFFFFFF));
H A DParserATNSimulator.php21 use Antlr\Antlr4\Runtime\Dfa\DFAState; alias
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|null The existing target DFA state for the given input
625 public function getExistingTargetState(DFAState $previousD, int $t) : ?DFAState
641 * @param DFAState $previousD The current DFA state
644 * @return DFAState|null The computed target DFA state for the given input
649 public function computeTargetState(DFA $dfa, DFAState $previousD, int $t) : ?DFAState
[all …]