Lines Matching refs:edges
55 $precedenceState->edges = new \SplFixedArray();
66 * The {@see DFAState::$edges} array for this start state contains outgoing
67 * edges supplying individual start states corresponding to specific
96 if ($this->s0->edges === null) {
97 throw new \RuntimeException('s0.edges cannot be null for a precedence DFA.');
100 if ($precedence < 0 || $precedence >= \count($this->s0->edges)) {
104 return $this->s0->edges[$precedence] ?? null;
126 if ($this->s0->edges === null) {
127 throw new \RuntimeException('Unexpected null edges.');
130 if ($precedence >= $this->s0->edges->count()) {
131 $this->s0->edges->setSize($precedence + 1);
136 // s0.edges is never null for a precedence DFA
137 $this->s0->edges[$precedence] = $startState;