Lines Matching refs:recognizer
29 * Reset the error handler state for the specified `recognizer`.
31 * @param Parser $recognizer the parser instance
33 public function reset(Parser $recognizer) : void;
49 * @param Parser $recognizer The parser instance
54 public function recoverInline(Parser $recognizer) : Token;
61 * @param Parser $recognizer The parser instance
70 public function recover(Parser $recognizer, RecognitionException $e) : void;
84 * @param Parser $recognizer the parser instance
92 public function sync(Parser $recognizer) : void;
95 * Tests whether or not `recognizer` is in the process of recovering
101 * @param Parser $recognizer The parser instance.
106 public function inErrorRecoveryMode(Parser $recognizer) : bool;
111 * @param Parser $recognizer The parser instance.
113 public function reportMatch(Parser $recognizer) : void;
119 * @param Parser $recognizer The parser instance.
122 public function reportError(Parser $recognizer, RecognitionException $e) : void;