Lines Matching refs:null
23 /** @var DFAState|null */
84 * @return DFAState|null The start state corresponding to the specified
85 * precedence, or `null` if no start state exists
92 if (!$this->precedenceDfa || $this->s0 === null) {
96 if ($this->s0->edges === null) {
97 throw new \RuntimeException('s0.edges cannot be null for a precedence DFA.');
101 return null;
104 return $this->s0->edges[$precedence] ?? null;
118 if (!$this->precedenceDfa || $this->s0 === null) {
126 if ($this->s0->edges === null) {
127 throw new \RuntimeException('Unexpected null edges.');
136 // s0.edges is never null for a precedence DFA
163 if ($this->s0 === null) {
174 if ($this->s0 === null) {