classEpilogue
final class Epilogue
Public API: explicitly declared with
@visibility public.The host code after the second %%, kept exactly as written.
$file = (new \BisonParser\Parser())->parse("%%\ns: 'a';\n%%\nint main() {}\n");
$file->epilogue?->code // => "\nint main() {}\n"Properties§
public string $codepublic Location $locationMethods§
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
EpilogueTest::testCodecalls
Other tests reaching this symbol 6
GrammarFileTest::testAllDeclarationscallsBisonGrammarCompilerTestcallsBisonGrammarReaderTestcallsParserTestcallsPrinterTest::testPrintcallsGrammarParserTestcalls