Lines Matching refs:a
37 * `true` if this DFA is for a precedence decision; otherwise, `false`.
64 * Gets whether this DFA is a precedence DFA. Precedence DFAs use a special
70 * @return bool `true` if this is a precedence DFA; otherwise, `false`.
80 * Get the start state for a specific precedence value.
88 * @throws \InvalidArgumentException If this is not a precedence DFA.
93 throw new \InvalidArgumentException('Only precedence DFAs may contain a precedence start state.');
97 throw new \RuntimeException('s0.edges cannot be null for a precedence DFA.');
108 * Set the start state for a specific precedence value.
114 * @throws \InvalidArgumentException If this is not a precedence DFA.
119 throw new \InvalidArgumentException('Only precedence DFAs may contain a precedence start state.');
134 // synchronization on s0 here is ok. when the DFA is turned into a
136 // s0.edges is never null for a precedence DFA
141 * Return a list of all states in this DFA, ordered by state number.
149 \usort($list, static function (DFAState $a, DFAState $b) {
150 return $a->stateNumber - $b->stateNumber;