Searched refs:returnStates (Results 1 – 2 of 2) sorted by relevance
28 public $returnStates; variable in Antlr\\Antlr4\\Runtime\\PredictionContexts\\ArrayPredictionContext34 public function __construct(array $parents, array $returnStates) argument39 $this->returnStates = $returnStates;61 return $this->returnStates[0] === PredictionContext::EMPTY_RETURN_STATE;66 return \count($this->returnStates);76 return $this->returnStates[$index];89 if ($this->returnStates === $other->returnStates) {103 for ($i = 0, $count = \count($this->returnStates); $i < $count; $i++) {108 if ($this->returnStates[$i] === PredictionContext::EMPTY_RETURN_STATE) {113 $string .= $this->returnStates[$i];[all …]
432 while ($i < \count($a->returnStates) && $j < \count($b->returnStates)) {436 if ($a->returnStates[$i] === $b->returnStates[$j]) {438 $payload = $a->returnStates[$i];462 } elseif ($a->returnStates[$i] < $b->returnStates[$j]) {465 $mergedReturnStates[$k] = $a->returnStates[$i];470 $mergedReturnStates[$k] = $b->returnStates[$j];478 if ($i < \count($a->returnStates)) {479 for ($p = $i, $count = \count($a->returnStates); $p < $count; $p++) {481 $mergedReturnStates[$k] = $a->returnStates[$p];485 for ($p = $j, $count = \count($b->returnStates); $p < $count; $p++) {[all …]