final class Epilogue
Public API: explicitly declared with @visibility public.

The host code after the second %%, kept exactly as written.

Reading the epiloguedoctest
$file = (new \BisonParser\Parser())->parse("%%\ns: 'a';\n%%\nint main() {}\n");
    $file->epilogue?->code // => "\nint main() {}\n"

Properties§

public string $code
public Location $location

Methods§

public function __construct(public string $code, public Location $location)

Parameters

$codestringEverything after the second `%%`
$locationLocationWhere the code begins

Test cases 7§

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

Dedicated tests 1
Other tests reaching this symbol 6

Relations§

Instantiated in 1
Type declarations 1