Home
last modified time | relevance | path

Searched refs:semanticContext (Results 1 – 4 of 4) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DATNConfig.php78 public $semanticContext; variable in Antlr\\Antlr4\\Runtime\\Atn\\ATNConfig
84 ?SemanticContext $semanticContext = null, argument
95 $this->semanticContext = $semanticContext ?? SemanticContext::none();
100 $this->semanticContext = $semanticContext ?? $oldConfig->semanticContext;
142 && $this->semanticContext->equals($other->semanticContext)
153 $this->semanticContext
[all...]
H A DATNConfigSet.php110 && $left->semanticContext->equals($right->semanticContext)
131 * {@see ATNConfig::$alt}, and `pi` is the {@see ATNConfig::$semanticContext}.
145 if ($config->semanticContext !== SemanticContext::none()) {
242 if ($config->semanticContext !== SemanticContext::none()) {
243 $predicates[] = $config->semanticContext;
H A DLexerATNConfig.php52 $this->semanticContext,
H A DParserATNSimulator.php1260 $config->semanticContext->evalPrecedence($this->parser, $this->outerContext) :
1269 if (!$updatedContext->equals($config->semanticContext)) {
1317 * c.alt==i and c.semanticContext==SemanticContext.NONE. In other words,
1320 * ATNConfig c such that c.alt==i, c.semanticContext!=SemanticContext.NONE.
1329 $altToPred[$c->alt] = SemanticContext::orContext($altToPred[$c->alt] ?? null, $c->semanticContext);
1502 if ($c->semanticContext !== SemanticContext::none()) {
1503 $predicateEvaluationResult = $c->semanticContext->eval($this->parser, $outerContext);
1669 $c = new ATNConfig(null, $returnState, $newContext, $config->semanticContext, $config->alt);
2111 $newSemCtx = SemanticContext::andContext($config->semanticContext, $pt->getPredicate());
2170 $newSemCtx = SemanticContext::andContext($config->semanticContext,
[all...]