Home
last modified time | relevance | path

Searched refs:localctx (Results 1 – 3 of 3) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DParser.php585 public function enterRule(ParserRuleContext $localctx, int $state, int $ruleIndex) : void argument
588 $this->ctx = $localctx;
619 public function enterOuterAlt(ParserRuleContext $localctx, int $altNum) : void argument
621 $localctx->setAltNumber($altNum);
623 // if we have new localctx, make sure we replace existing ctx
625 if ($this->buildParseTree && $this->ctx !== $localctx) {
631 $parent->addChild($localctx);
635 $this->ctx = $localctx;
649 public function enterRecursionRule(ParserRuleContext $localctx, int $state, int $ruleIndex, int $precedence) : void argument
653 $this->ctx = $localctx;
664 pushNewRecursionContext(ParserRuleContext $localctx, int $state, int $ruleIndex) global() argument
752 precpred(RuleContext $localctx, int $precedence) global() argument
[all...]
H A DRecognizer.php186 public function sempred(?RuleContext $localctx, int $ruleIndex, int $actionIndex) : bool argument
191 public function precpred(RuleContext $localctx, int $precedence) : bool argument
196 public function action(?RuleContext $localctx, int $ruleIndex, int $actionIndex) : void argument
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/SemanticContexts/
H A DPredicate.php31 $localctx = $this->isCtxDependent ? $parserCallStack : null;
33 return $parser->sempred($localctx, $this->ruleIndex, $this->predIndex);