mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +00:00
![]() Previously if the IDL was something like: ``` constructor(optional DOMString data = ""); ``` We were generating code that would be passing through to the constructor an Optional<String> - even though for this situation it is not possible for it to be null. Instead, if we know if there is a default value that is non-null and the type is not nullish, just generate the cpp code as a String. |
||
---|---|---|
.. | ||
BindingsGenerator | ||
CMakeLists.txt | ||
GenerateAriaRoles.cpp | ||
GenerateCSSEasingFunctions.cpp | ||
GenerateCSSEnums.cpp | ||
GenerateCSSMathFunctions.cpp | ||
GenerateCSSMediaFeatureID.cpp | ||
GenerateCSSPropertyID.cpp | ||
GenerateCSSPseudoClass.cpp | ||
GenerateCSSTransformFunctions.cpp | ||
GenerateCSSValueID.cpp | ||
GenerateWindowOrWorkerInterfaces.cpp | ||
GeneratorUtil.h |