Searched refs:SemanticContext (Results 1 – 11 of 11) sorted by relevance
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/SemanticContexts/ |
H A D | OrOperator.php | 19 /** @var array<SemanticContext> */ 22 public function __construct(SemanticContext $a, SemanticContext $b) 57 * @return array<SemanticContext> 81 public function evalPrecedence(Recognizer $parser, RuleContext $parserCallStack) : ?SemanticContext 90 if ($evaluated === SemanticContext::none()) { 92 return SemanticContext::none(); 112 $result = $result === null ? $operand : SemanticContext::orContext($result, $operand);
|
H A D | AndOperator.php | 19 /** @var array<SemanticContext> */ 22 public function __construct(SemanticContext $a, SemanticContext $b) 24 /** @var Set<SemanticContext> $operands */ 55 * @return array<SemanticContext> 78 public function evalPrecedence(Recognizer $parser, RuleContext $parserCallStack) : ?SemanticContext 93 if ($evaluated !== SemanticContext::none()) { 105 return SemanticContext::none();
|
H A D | PrecedencePredicate.php | 11 final class PrecedencePredicate extends SemanticContext 26 public function evalPrecedence(Recognizer $parser, RuleContext $parserCallStack) : ?SemanticContext 29 return SemanticContext::none();
|
H A D | Operator.php | 11 abstract class Operator extends SemanticContext 16 * @return array<SemanticContext> A collection of {@see SemanticContext}
|
H A D | Predicate.php | 11 final class Predicate extends SemanticContext
|
H A D | SemanticContext.php | 18 * {@see PrecedencePredicate} subclasses of {@see SemanticContext} within 21 abstract class SemanticContext implements Hashable class 24 * The default {@see SemanticContext}, which is semantically equivalent to 97 * - A non-`null` {@see SemanticContext}: if the new simplified
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Dfa/ |
H A D | PredPrediction.php | 7 use Antlr\Antlr4\Runtime\Atn\SemanticContexts\SemanticContext; alias 14 /** @var SemanticContext */ 20 public function __construct(SemanticContext $pred, int $alt)
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/ |
H A D | ATNConfig.php | 7 use Antlr\Antlr4\Runtime\Atn\SemanticContexts\SemanticContext; alias 77 /** @var SemanticContext */ 84 ?SemanticContext $semanticContext = null, 95 $this->semanticContext = $semanticContext ?? SemanticContext::none(); 169 if ($this->semanticContext->equals(SemanticContext::none())) { 189 $this->semanticContext !== null && $this->semanticContext->equals(SemanticContext::none()) ?
|
H A D | ATNConfigSet.php | 7 use Antlr\Antlr4\Runtime\Atn\SemanticContexts\SemanticContext; alias 145 if ($config->semanticContext !== SemanticContext::none()) { 236 * @return array<SemanticContext> 242 if ($config->semanticContext !== SemanticContext::none()) {
|
H A D | PredictionMode.php | 7 use Antlr\Antlr4\Runtime\Atn\SemanticContexts\SemanticContext; alias 186 $c = new ATNConfig($c, null, null, SemanticContext::none());
|
H A D | ParserATNSimulator.php | 7 use Antlr\Antlr4\Runtime\Atn\SemanticContexts\SemanticContext; alias 1206 * {@see SemanticContext//evalPrecedence}. 1308 * @return array<SemanticContext>|null 1316 * 2. SemanticContext.NONE: At least one ATNConfig c exists such that 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); 1339 $altToPred[$i] = SemanticContext::none(); 1340 } elseif ($pred !== SemanticContext::none()) { 1363 * @param array<SemanticContext> [all...] |