Lines Matching defs:recognizer
28 private $recognizer;
49 ?Recognizer $recognizer,
56 $this->recognizer = $recognizer;
60 if ($this->recognizer !== null) {
61 $this->offendingState = $this->recognizer->getState();
99 if ($this->recognizer === null) {
107 return $this->recognizer->getATN()->getExpectedTokens($this->offendingState, $this->ctx);
125 * Gets the input stream which is the symbol source for the recognizer where
131 * the recognizer where this exception was thrown, or
152 * If the recognizer is not available, this method returns `null`.
154 * @return Recognizer|null The recognizer where this exception occurred, or
155 * `null` if the recognizer is not available.
159 return $this->recognizer;