final class BisonRuleReader
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Reads the rules section of a Bison grammar.

Recognizes a rule by its identifier and following colon. Tokens outside that pattern are skipped so reading can resume at the next rule boundary.

Methods§

public function readAll(BisonTokenStream $stream): list<BisonRuleNode>

Private surface 1§

Implementation details, listed for orientation only.

private BisonAlternativeReader $alternatives

Test cases 8§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 7
Other tests reaching this symbol 1

Relations§

Instantiated in 1
Method calls 1
Type declarations 2