1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibWeb
Linus Groh 44e70d1bc0 LibJS+LibWeb: Let WrapperGenerator deal with legacy_null_to_empty_string
This concept is not present in ECMAScript, and it bothers me every time
I see it.
It's only used by WrapperGenerator, and even there only relevant in two
places, so let's fully remove it from LibJS and use a simple ternary
expression instead:

    cpp_name = js_name.is_null() && legacy_null_to_empty_string
        ? String::empty()
        : js_name.to_string(global_object);
2021-10-11 23:36:03 +01:00
..
CMakeLists.txt Meta: Define and use lagom_tool() CMake helper function for all Tools 2021-09-15 19:04:52 +04:30
Generate_CSS_PropertyID_cpp.cpp LibWeb: Generate CSS::property_id_from_camel_case_string() 2021-09-29 21:21:57 +02:00
Generate_CSS_PropertyID_h.cpp LibWeb: Generate CSS::property_id_from_camel_case_string() 2021-09-29 21:21:57 +02:00
Generate_CSS_ValueID_cpp.cpp Everywhere: Move all host tools into the Lagom/Tools subdirectory 2021-08-28 08:44:17 +01:00
Generate_CSS_ValueID_h.cpp Everywhere: Move all host tools into the Lagom/Tools subdirectory 2021-08-28 08:44:17 +01:00
WrapperGenerator.cpp LibJS+LibWeb: Let WrapperGenerator deal with legacy_null_to_empty_string 2021-10-11 23:36:03 +01:00