Lines Matching refs:ParserRuleContext

65      * The {@see ParserRuleContext} object for the currently executing rule.
68 * @var ParserRuleContext|null
159 * {@see Parser::createErrorNode(ParserRuleContext, Token)} then
160 * {@see ParserRuleContext::addErrorNode(ErrorNode)}.
206 * {@see Parser::createErrorNode(ParserRuleContext, Token)}. then
207 * {@see ParserRuleContext::addErrorNode(ErrorNode)}
236 * Track the {@see ParserRuleContext} objects during the parse and hook
237 * them up using the {@see ParserRuleContext::$children} list so that it
238 * forms a parse tree. The {@see ParserRuleContext} returned from the start
247 * {@see ParserRuleContext::$children} list. Contexts are then not
508 * to the parse tree using {@see ParserRuleContext::addTerminalNode()}, and
512 * {@see ParserRuleContext::addErrorNode()} and
552 public function createTerminalNode(ParserRuleContext $parent, Token $t) : TerminalNode
562 public function createErrorNode(ParserRuleContext $parent, Token $t) : ErrorNode
576 if ($parent instanceof ParserRuleContext) {
585 public function enterRule(ParserRuleContext $localctx, int $state, int $ruleIndex) : void
614 if ($parent === null || $parent instanceof ParserRuleContext) {
619 public function enterOuterAlt(ParserRuleContext $localctx, int $altNum) : void
626 /** @var ParserRuleContext $parent */
649 public function enterRecursionRule(ParserRuleContext $localctx, int $state, int $ruleIndex, int $precedence) : void
664 public function pushNewRecursionContext(ParserRuleContext $localctx, int $state, int $ruleIndex) : void
681 public function unrollRecursionContexts(?ParserRuleContext $parentctx) : void
695 if ($parent !== null && !$parent instanceof ParserRuleContext) {
728 public function getContext() : ?ParserRuleContext
733 private function context() : ParserRuleContext
747 public function setContext(ParserRuleContext $ctx) : void
781 /** @var ParserRuleContext $ctx */