Lines Matching refs:Parser

14 use Antlr\Antlr4\Runtime\Parser;
76 public function reset(Parser $recognizer) : void
85 * @param Parser $recognizer The parser instance.
87 protected function beginErrorCondition(Parser $recognizer) : void
92 public function inErrorRecoveryMode(Parser $recognizer) : bool
101 protected function endErrorCondition(Parser $recognizer) : void
114 public function reportMatch(Parser $recognizer) : void
134 * - All other types: calls {@see Parser#notifyErrorListeners} to report
137 public function reportError(Parser $recognizer, RecognitionException $e) : void
166 public function recover(Parser $recognizer, RecognitionException $e) : void
242 public function sync(Parser $recognizer) : void
317 * @param Parser $recognizer The parser instance.
322 protected function reportNoViableAlternative(Parser $recognizer, NoViableAltException $e) : void
351 * @param Parser $recognizer The parser instance.
356 protected function reportInputMismatch(Parser $recognizer, InputMismatchException $e) : void
377 * @param Parser $recognizer The parser instance.
382 protected function reportFailedPredicate(Parser $recognizer, FailedPredicateException $e) : void
403 * recovery mode, followed by calling {@see Parser::notifyErrorListeners}.
405 * @param Parser $recognizer The parser instance.
407 protected function reportUnwantedToken(Parser $recognizer) : void
441 * recovery mode, followed by calling {@see Parser::notifyErrorListeners()}.
443 * @param Parser $recognizer the parser instance
445 protected function reportMissingToken(Parser $recognizer) : void
515 public function recoverInline(Parser $recognizer) : Token
554 * @param Parser $recognizer The parser instance.
559 protected function singleTokenInsertion(Parser $recognizer) : bool
604 * followed by {@see Parser::consume()} to actually "delete" the extraneous
608 * @param Parser $recognizer The parser instance.
614 protected function singleTokenDeletion(Parser $recognizer) : ?Token
657 protected function getMissingSymbol(Parser $recognizer) : Token
713 protected function getExpectedTokens(Parser $recognizer) : IntervalSet
855 protected function getErrorRecoverySet(Parser $recognizer) : IntervalSet
886 protected function consumeUntil(Parser $recognizer, IntervalSet $set) : void