Lines Matching refs:t
140 // yet successfully, don't report any errors.
142 // don't report spurious errors
211 * token deletion, if possible. If it can't do that, it bails on the current
253 // If already recovering, don't try to sync
279 // It's possible the next token won't match; information tracked
308 // do nothing if we can't identify the exact kind of ATN state
415 $t = $recognizer->getCurrentToken();
416 $tokenName = $this->getTokenErrorDisplay($t);
425 $recognizer->notifyErrorListeners($msg, $t);
453 $t = $recognizer->getCurrentToken();
459 $this->getTokenErrorDisplay($t)
462 $recognizer->notifyErrorListeners($msg, $t);
533 // even that didn't work; must throw the exception
724 * your token objects because you don't have to go modify your lexer
727 protected function getTokenErrorDisplay(?Token $t) : string
729 if ($t === null) {
733 $s = $this->getSymbolText($t);
736 if ($this->getSymbolType($t) === Token::EOF) {
739 $s = '<' . $this->getSymbolType($t) . '>';
777 * You don't want the exact set of viable next tokens because the
828 * the same recovery set and doesn't consume anything. Rule b