Lines Matching +defs:t +defs:e
173 $t = $this->getCurrentToken();
175 if ($t !== null && $t->getType() === $ttype) {
184 $t = $this->errorHandler->recoverInline($this);
186 if ($this->buildParseTree && $t->getTokenIndex() === -1) {
189 $this->context()->addErrorNode($this->createErrorNode($this->context(), $t));
193 return $t;
198 * (i.e. has a value greater than 0), {@see ANTLRErrorStrategy::reportMatch()}
217 $t = $this->token();
219 if ($t->getType() > 0) {
223 $t = $this->errorHandler->recoverInline($this);
225 if ($this->buildParseTree && $t->getTokenIndex() === -1) {
228 $this->context()->addErrorNode($this->createErrorNode($this->context(), $t));
232 return $t;
288 * <em>deterministic</em>, i.e. for identical input the calls to listener
461 * into the label for the associated token ref; e.g., x=ID.
482 ?RecognitionException $e = null
492 $listener->syntaxError($this, $offendingToken, $line, $charPositionInLine, $msg, $e);
552 public function createTerminalNode(ParserRuleContext $parent, Token $t) : TerminalNode
554 return new TerminalNodeImpl($t);
562 public function createErrorNode(ParserRuleContext $parent, Token $t) : ErrorNode
564 return new ErrorNodeImpl($t);
838 /** Get a rule's index (i.e., `RULE_ruleName` field) or -1 if not found. */