Lines Matching refs:ATN

62      * 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 with version %d (expected %d).',
210 'Could not deserialize ATN with UUID: %s (expected %s or a legacy UUID).',
219 private function readATN() : ATN
224 return new ATN($grammarType, $maxTokenType);
227 private function readStates(ATN $atn) : void
256 throw new \RuntimeException('Unexpected ATN State');
279 throw new \RuntimeException('Unexpected ATN State');
291 throw new \RuntimeException('Unexpected ATN State');
303 throw new \RuntimeException('Unexpected ATN State');
310 private function readRules(ATN $atn) : void
321 throw new \RuntimeException('Unexpected ATN State');
326 if ($atn->grammarType === ATN::ATN_TYPE_LEXER) {
348 private function readModes(ATN $atn) : void
356 throw new \RuntimeException('Unexpected ATN State');
392 private function readEdges(ATN $atn, array &$sets) : void
462 private function readDecisions(ATN $atn) : void
477 private function readLexerActions(ATN $atn) : void
479 if ($atn->grammarType === ATN::ATN_TYPE_LEXER) {
503 private function generateRuleBypassTransitions(ATN $atn) : void
516 private function generateRuleBypassTransition(ATN $atn, int $idx) : void
624 * Analyze the {@see StarLoopEntryState} states in the specified ATN to set
628 * @param ATN $atn The ATN.
630 private function markPrecedenceDecisions(ATN $atn) : void
637 // We analyze the ATN to determine if this ATN decision state is the
653 private function verifyATN(ATN $atn) : void
761 ATN $atn,