1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +00:00

Meta: Split and refactor the WrapperGenerator a bit

The single 4000-line WrapperGenerator.cpp file was proving to be a pain
to hack, and was filled with spaghetti, split it into a bunch of files
to lessen the impact of the spaghetti.
Also refactor the whole parser to use a class instead of a giant
function with a million lambdas.
This commit is contained in:
Ali Mohammad Pur 2022-02-17 02:00:43 +03:30 committed by Andreas Kling
parent 7685d53654
commit e9c76d339b
7 changed files with 1431 additions and 1296 deletions

View file

@ -4,5 +4,5 @@ lagom_tool(Generate_CSS_PropertyID_h SOURCES Generate_CSS_PropertyID_h.cpp)
lagom_tool(Generate_CSS_PropertyID_cpp SOURCES Generate_CSS_PropertyID_cpp.cpp)
lagom_tool(Generate_CSS_ValueID_h SOURCES Generate_CSS_ValueID_h.cpp)
lagom_tool(Generate_CSS_ValueID_cpp SOURCES Generate_CSS_ValueID_cpp.cpp)
lagom_tool(WrapperGenerator SOURCES WrapperGenerator.cpp)
target_compile_options(WrapperGenerator PUBLIC -g)
add_subdirectory(WrapperGenerator)