1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 18:28:10 +00:00
serenity/Libraries/LibWeb/CodeGenerators
Andreas Kling 3eff6024b1 LibWeb: Add code generation for reflecting IDL attributes
You can now tag reflecting attributes with [Reflect] to generate code
that does basic DOM element attribute get/set.

(This patch also makes it easy to add more extended attributes like
that going forward.)

From the HTML spec:

"Some IDL attributes are defined to reflect a particular content
attribute. This means that on getting, the IDL attribute returns
the current value of the content attribute, and on setting,
the IDL attribute changes the value of the content attribute
to the given value."
2020-07-24 13:06:02 +02:00
..
CMakeLists.txt LibWeb: Start generating JS wrappers from (simplified) WebIDL :^) 2020-06-21 00:58:55 +02:00
Generate_CSS_PropertyID_cpp.cpp LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
Generate_CSS_PropertyID_h.cpp LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
WrapperGenerator.cpp LibWeb: Add code generation for reflecting IDL attributes 2020-07-24 13:06:02 +02:00