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

Reads the declarations section of a Bison grammar.

The section ends at the %% that opens the rules, and that separator is consumed here so the rules reader starts on a rule. A declaration whose arguments do not match its directive is skipped to its declaration boundary. Reading then continues with the next declaration in the same source section.

Methods§

public function read(BisonTokenStream $stream): BisonPreamble

Private surface 1§

Implementation details, listed for orientation only.

private BisonDirectiveReaderChain $directives

Test cases 9§

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

Dedicated tests 8
Other tests reaching this symbol 1

Relations§

Instantiated in 1
Method calls 1
Type declarations 2