Lines Matching defs:transitions
67 * Track the transitions emanating from this ATN state.
71 protected $transitions = [];
100 return $this->transitions;
105 return \count($this->transitions);
110 if (\count($this->transitions) === 0) {
117 $this->transitions[] = $trans;
119 \array_splice($this->transitions, $index, 1, [$trans]);
125 return $this->transitions[$index];
130 $this->transitions[$index] = $trans;
134 * @param array<Transition> $transitions
136 public function setTransitions(array $transitions) : void
138 $this->transitions = $transitions;
143 \array_splice($this->transitions, $index, 1);