1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
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
..
GMLCompiler AK: Make SourceGenerator::fork() infallible 2023-08-22 13:08:24 +02:00
IPCCompiler AK: Make SourceGenerator::fork() infallible 2023-08-22 13:08:24 +02:00
JSSpecCompiler JSSpecCompiler: Add infrastructure to run compiler passes on AST 2023-09-02 19:57:06 +02:00
LibEDID LibEDID: Ignore duplicate PNP IDs 2023-06-08 13:03:14 +02:00
LibGL AK: Make SourceGenerator::fork() infallible 2023-08-22 13:08:24 +02:00
LibLocale LibLocale: Remove compact currency patterns 2023-09-04 18:22:28 +02:00
LibPublicSuffix LibPublicSuffix: Add Library and Generators 2023-08-17 15:30:23 +01:00
LibTimeZone LibTimeZone+Userland: Change timezone functions to use UnixDateTime 2023-05-24 23:18:07 +02:00
LibUnicode AK: Make SourceGenerator::set() infallible 2023-08-22 13:08:24 +02:00
LibWeb LibWeb: Don't generate Optional<String> from IDL for non-null arguments 2023-09-05 20:36:09 -04:00
StateMachineGenerator AK: Make SourceGenerator::fork() infallible 2023-08-22 13:08:24 +02:00
CMakeLists.txt JSSpecCompiler: Make it compile and dump AST created from stdin input 2023-08-31 11:00:31 +02:00