mirror of
https://github.com/RGBCube/serenity
synced 2026-01-12 23:01:01 +00:00
For each .cpp file in the test suite data, there is a .ast file that represents the "known good" baseline of the parser result. Each .cpp file goes through the parser, and the result of invoking `ASTNode::dump()` on the root node is compared to the baseline to find regressions. We also check that there were no parser errors when parsing the .cpp files. |
||
|---|---|---|
| .. | ||
| Tests | ||
| AST.cpp | ||
| AST.h | ||
| CMakeLists.txt | ||
| Lexer.cpp | ||
| Lexer.h | ||
| Parser.cpp | ||
| Parser.h | ||
| Preprocessor.cpp | ||
| Preprocessor.h | ||
| SyntaxHighlighter.cpp | ||
| SyntaxHighlighter.h | ||
| Token.cpp | ||
| Token.h | ||