Home
last modified time | relevance | path

Searched refs:ATN (Results 1 – 17 of 17) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DATNDeserializer.php62 * This UUID indicates the serialized ATN contains two sets of IntervalSets,
106 * Determines if a particular serialized representation of an ATN supports
108 * the ATN at the time the feature was first introduced.
111 * feature was supported in the serialized ATN.
112 * @param string $actualUuid The {@see UUID} of the actual serialized ATN
116 * ATN at or after the feature identified by `feature` was
132 public function deserialize(string $data) : ATN
148 // Next, if the ATN was serialized with the Unicode SMP feature,
163 if ($atn->grammarType === ATN::ATN_TYPE_PARSER
197 'Could not deserialize ATN wit
[all...]
H A DATNSimulator.php34 /** @var ATN */
62 public function __construct(ATN $atn, PredictionContextCache $sharedContextCache)
79 * may be shared by multiple ATN simulators, this method may affect the
88 throw new \InvalidArgumentException('This ATN simulator does not support clearing the DFA.');
H A DParserATNSimulator.php44 * We begin with ATN simulation to build paths in a DFA. Subsequent prediction
46 * the current symbol, the algorithm fails over to the ATN simulation to
56 * prediction occurs without invoking another rule's ATN, there are no context
62 * retry the ATN simulation, this time using full outer context without adding
71 * simulation, we will again retry the ATN simulation using full context mode.
73 * ATN each time we get that input.
79 * of visible predicates from the ATN start state changes depending on the
138 * ATN simulation whereas, if we had evaluated predicates on-the-fly during
142 * When building a DFA accept state during ATN simulation, we evaluate any
154 * During full LL ATN simulatio
[all...]
H A DPredictionMode.php116 * When the ATN simulation reaches the state before `';'`, it has a
246 * Can we stop looking ahead during ATN simulation or is there some
450 * {@see ATN::INVALID_ALT_NUMBER}.
462 return ATN::INVALID_ALT_NUMBER;
583 return ATN::INVALID_ALT_NUMBER;
H A DATN.php20 final class ATN class
56 * The type of the ATN.
63 * The maximum value for any symbol recognized by a transition in the ATN.
82 * be referenced by action transitions in the ATN.
170 * Computes the set of input symbols which could follow ATN state number
174 * assumed true). If a path in the ATN exists from the starting state to the
180 * @param int $stateNumber The ATN state number
H A DATNConfigSet.php383 $this->uniqueAlt !== ATN::INVALID_ALT_NUMBER ? ',uniqueAlt=' . $this->uniqueAlt : '',
H A DLexerATNSimulator.php28 public const MAX_DFA_EDGE = 127; // forces unicode to stay in ATN
42 * Shared across DFA to ATN simulation in case the ATN fails and the
44 * ATN-generated exception object.
71 * Used during DFA/ATN exec to record the most recent accept configuration info.
82 ATN $atn,
214 // This is kind of like doing DFA simulation within the ATN
355 * Given a starting configuration set, figure out all ATN configurations
366 $skipAlt = ATN::INVALID_ALT_NUMBER;
588 // fly all the time using the ATN no
[all...]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DRecognizer.php7 use Antlr\Antlr4\Runtime\Atn\ATN; alias
113 * If this recognizer was generated, it will have a serialized ATN
115 * their serialized ATN despite having created the interpreter from it.
119 throw new \InvalidArgumentException('there is no serialized ATN');
123 * Get the ATN interpreter used by the recognizer for prediction.
125 * @return ATNSimulator|null The ATN interpreter used by the recognizer
143 * Set the ATN interpreter used by the recognizer for prediction.
145 * @param ATNSimulator|null $interpreter The ATN interpreter used
184 * that the ATN interp needs to execute
207 * consistent with the ATN stat
[all...]
H A DLL1Analyzer.php7 use Antlr\Antlr4\Runtime\Atn\ATN; alias
29 /** @var ATN */
32 public function __construct(ATN $atn)
44 * @param ATNState|null $s The ATN state
85 * Compute set of tokens that can follow `s` in the ATN in the
93 * @param ATNState $s The ATN state.
94 * @param ATNState|null $stopState The ATN state to stop at. This can be
100 * @return IntervalSet The set of tokens that can follow `s` in the ATN
127 * Compute set of tokens that can follow `s` in the ATN in the
136 * @param ATNState $s The ATN stat
[all...]
H A DRuleContext.php7 use Antlr\Antlr4\Runtime\Atn\ATN; alias
164 return ATN::INVALID_ALT_NUMBER;
H A DParser.php7 use Antlr\Antlr4\Runtime\Atn\ATN; alias
31 * This field maps from the serialized ATN string to the deserialized
32 * {@see ATN} with bypass alternatives.
36 * @var array<string, ATN>
389 * The ATN with bypass alternatives is expensive to create so we create it
395 public function getATNWithBypassAlts() : ATN
765 * ATN. The behavior of this method is equivalent to the following, but is
776 * the ATN, otherwise `false`.
822 * @see ATN::getExpectedTokens()
848 * in the ATN
[all...]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/States/
H A DATNState.php7 use Antlr\Antlr4\Runtime\Atn\ATN; alias
47 * Which ATN are we in?
49 * @var ATN|null
67 * Track the transitions emanating from this ATN state.
/plugin/combo/ComboStrap/PageSqlParser/
H A DPageSqlLexer.php14 use Antlr\Antlr4\Runtime\Atn\ATN; alias
667 public function getATN() : ATN
H A DPageSqlParser.php8 use Antlr\Antlr4\Runtime\Atn\ATN; alias
272 public function getATN() : ATN
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Tree/
H A DTrees.php7 use Antlr\Antlr4\Runtime\Atn\ATN; alias
60 if ($altNumber !== ATN::INVALID_ALT_NUMBER) {
/plugin/combo/grammar/
H A DREADME.md29 * Runtime 0.6 as a bad ATN
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/
H A DPredictionContext.php7 use Antlr\Antlr4\Runtime\Atn\ATN; alias
75 public static function fromRuleContext(ATN $atn, ?RuleContext $outerContext) : PredictionContext