Lines Matching refs:context

189                 $this->context()->addErrorNode($this->createErrorNode($this->context(), $t));
228 $this->context()->addErrorNode($this->createErrorNode($this->context(), $t));
344 $listener->enterEveryRule($this->context());
345 $this->context()->enterRule($listener);
359 $this->context()->exitRule($listener);
360 $listener->exitEveryRule($this->context());
526 … $node = $this->context()->addErrorNode($this->createErrorNode($this->context(), $o));
534 … $node = $this->context()->addTerminalNode($this->createTerminalNode($this->context(), $o));
569 $parent = $this->context()->getParent();
577 $parent->addChild($this->context());
589 $this->context()->start = $this->tokenStream()->LT(1);
602 $this->context()->stop = $this->tokenStream()->LT(1); // LT(1) will be end of file
604 … $this->context()->stop = $this->tokenStream()->LT(-1); // stop node is what we just matched
610 $this->setState($this->context()->invokingState);
612 $parent = $this->context()->getParent();
627 $parent = $this->context()->getParent();
654 $this->context()->start = $this->tokenStream()->LT(1);
666 $previous = $this->context();
672 $this->context()->start = $previous->start;
675 $this->context()->addChild($previous);
685 $this->context()->stop = $this->tokenStream()->LT(-1);
686 $retctx = $this->context(); // save current ctx (return value)
693 $parent = $this->context()->getParent();
733 private function context() : ParserRuleContext function in Antlr\\Antlr4\\Runtime\\Parser
744 return $this->getRuleNames()[$this->context()->getRuleIndex()] ?? '';
757 public function inContext(string $context) : bool argument