1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibWeb
Shannon Booth 914fb90bbe LibWeb: Don't generate Optional<String> from IDL for non-null arguments
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.
2023-09-05 20:36:09 -04:00
..
BindingsGenerator LibWeb: Don't generate Optional<String> from IDL for non-null arguments 2023-09-05 20:36:09 -04:00
CMakeLists.txt LibWeb: Generate PseudoClass metadata 2023-08-12 16:26:32 +02:00
GenerateAriaRoles.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSEasingFunctions.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSEnums.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSMathFunctions.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSMediaFeatureID.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSPropertyID.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSPseudoClass.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSTransformFunctions.cpp LibWeb: Stop using fallible JSON API in code generators 2023-08-22 13:08:24 +02:00
GenerateCSSValueID.cpp LibWeb: Move check for CSS-wide keywords to ValueID.h 2023-09-05 14:27:23 +02:00
GenerateWindowOrWorkerInterfaces.cpp AK: Make SourceGenerator::fork() infallible 2023-08-22 13:08:24 +02:00
GeneratorUtil.h LibWeb: Make (snake/title/camel) casification functions infallible 2023-08-22 13:08:24 +02:00