Home
last modified time | relevance | path

Searched refs:dfa (Results 1 – 9 of 9) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/Listeners/
H A DDiagnosticErrorListener.php50 DFA $dfa, argument
65 $this->getDecisionDescription($recognizer, $dfa),
75 DFA $dfa, argument
85 $this->getDecisionDescription($recognizer, $dfa),
94 DFA $dfa, argument
104 $this->getDecisionDescription($recognizer, $dfa),
111 protected function getDecisionDescription(Parser $recognizer, DFA $dfa) : string argument
113 $decision = $dfa->decision;
115 if ($dfa->atnStartState === null) {
119 $ruleIndex = $dfa->atnStartState->ruleIndex;
H A DProxyErrorListener.php49 DFA $dfa, argument
57 …$listener->reportAmbiguity($recognizer, $dfa, $startIndex, $stopIndex, $exact, $ambigAlts, $config…
63 DFA $dfa, argument
72 $dfa,
83 DFA $dfa, argument
90 …$listener->reportContextSensitivity($recognizer, $dfa, $startIndex, $stopIndex, $prediction, $conf…
H A DBaseErrorListener.php33 DFA $dfa, argument
44 DFA $dfa, argument
54 DFA $dfa, argument
H A DANTLRErrorListener.php32 DFA $dfa, argument
42 DFA $dfa, argument
51 DFA $dfa, argument
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DParserATNSimulator.php292 protected $dfa; variable in Antlr\\Antlr4\\Runtime\\Atn\\ParserATNSimulator
343 $this->dfa = $dfa;
455 DFA $dfa, argument
753 DFA $dfa, argument
1752 if ($this->dfa && $this->dfa->isPrecedenceDfa()) {
2415 DFA $dfa, argument
2436 $dfa,
2446 DFA $dfa, argument
2467 $dfa,
2480 DFA $dfa, argument
[all …]
H A DLexerATNSimulator.php138 $dfa = $this->decisionToDFA[$mode];
140 if ($dfa->s0 === null) {
143 return $this->execATN($input, $dfa->s0);
811 $dfa = $this->decisionToDFA[$this->mode];
813 $existing = $dfa->states->get($proposed);
820 $newState->stateNumber = $dfa->states->count();
823 $dfa->states->add($newState);
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Dfa/
H A DDFASerializer.php16 private $dfa; variable in Antlr\\Antlr4\\Runtime\\Dfa\\DFASerializer
21 public function __construct(DFA $dfa, Vocabulary $vocabulary) argument
23 $this->dfa = $dfa;
29 if ($this->dfa->s0 === null) {
36 foreach ($this->dfa->getStates() as $state) {
H A DLexerDFASerializer.php12 public function __construct(DFA $dfa) argument
14 parent::__construct($dfa, new VocabularyImpl());
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DParser.php888 foreach ($interp->decisionToDFA as $dfa) {
889 $s[] = $dfa->toString($this->getVocabulary());
903 foreach ($interp->decisionToDFA as $dfa) {
904 if ($dfa->states->isEmpty()) {
912 … echo \sprintf("Decision %d:\n%s", $dfa->decision, $dfa->toString($this->getVocabulary()));