Searched refs:IntervalSet (Results 1 – 13 of 13) sorted by path
14 use Antlr\Antlr4\Runtime\IntervalSet; alias 106 public function nextTokensInContext(ATNState $state, ?RuleContext $context) : IntervalSet116 public function nextTokens(ATNState $state) : IntervalSet183 * @return IntervalSet The set of potentially valid input symbols which could188 public function getExpectedTokens(int $stateNumber, ?RuleContext $context) : IntervalSet201 $expected = new IntervalSet();
43 use Antlr\Antlr4\Runtime\IntervalSet; alias 364 * @param array<IntervalSet> $sets371 $iset = new IntervalSet();390 * @param array<IntervalSet> $sets758 * @param array<IntervalSet> $sets
25 use Antlr\Antlr4\Runtime\IntervalSet; alias 1470 $alts = new IntervalSet();
10 use Antlr\Antlr4\Runtime\IntervalSet; alias 76 * @var IntervalSet|null
8 use Antlr\Antlr4\Runtime\IntervalSet; alias 22 public function label() : ?IntervalSet24 return IntervalSet::fromInt($this->label);
8 use Antlr\Antlr4\Runtime\IntervalSet; alias 27 public function label() : ?IntervalSet29 return IntervalSet::fromRange($this->from, $this->to);
8 use Antlr\Antlr4\Runtime\IntervalSet; alias 16 /** @var IntervalSet */19 public function __construct(ATNState $target, ?IntervalSet $set = null)26 $this->set = new IntervalSet();36 public function label() : ?IntervalSet
9 use Antlr\Antlr4\Runtime\IntervalSet; alias 62 public function label() : ?IntervalSet
13 use Antlr\Antlr4\Runtime\IntervalSet; alias 47 /** @var IntervalSet|null */188 $this->lastErrorStates = new IntervalSet();713 protected function getExpectedTokens(Parser $recognizer) : IntervalSet855 protected function getErrorRecoverySet(Parser $recognizer) : IntervalSet865 $recoverSet = new IntervalSet();886 protected function consumeUntil(Parser $recognizer, IntervalSet $set) : void
7 use Antlr\Antlr4\Runtime\IntervalSet; alias 93 * @return IntervalSet|null The set of token types that could potentially follow97 public function getExpectedTokens() : ?IntervalSet
22 final class IntervalSet implements Equatable class 54 public function complement(IntervalSet $set) : ?self63 public function subtract(IntervalSet $set) : self72 public function orSet(IntervalSet $other) : self87 public static function subtractSets(IntervalSet $left, IntervalSet $right) : self198 throw new \InvalidArgumentException('Can\'t alter readonly IntervalSet.');257 public function addSet(IntervalSet $other) : self
46 * @return array<IntervalSet|null>|null The expected symbols for57 $interval = new IntervalSet();100 * @return IntervalSet The set of tokens that can follow `s` in the ATN103 public function look(ATNState $s, ?ATNState $stopState, ?RuleContext $context) : IntervalSet105 $r = new IntervalSet();145 * @param IntervalSet $look The result lookahead set.178 IntervalSet $look,303 $set = $set->complement(IntervalSet::fromRange(
824 public function getExpectedTokens() : IntervalSet830 public function getExpectedTokensWithinCurrentRule() : IntervalSet