LibWeb: Start generating JS wrappers from (simplified) WebIDL :^)

This patch introduces a hackish but functional IDL parser and uses it
to generate the JS bindings for Node and Document.

We'll see how far this simple parser takes us. The important thing
right now is generating code, not being a perfect IDL parser. :^)
This commit is contained in:
Andreas Kling 2020-06-20 22:09:38 +02:00
commit 1ffffa0053
Notes: sideshowbarker 2024-07-19 05:31:06 +09:00
15 changed files with 561 additions and 234 deletions

View file

@ -36,6 +36,7 @@
#include <LibWeb/Bindings/DocumentWrapper.h>
#include <LibWeb/Bindings/LocationObject.h>
#include <LibWeb/Bindings/NavigatorObject.h>
#include <LibWeb/Bindings/NodeWrapperFactory.h>
#include <LibWeb/Bindings/WindowObject.h>
#include <LibWeb/Bindings/XMLHttpRequestConstructor.h>
#include <LibWeb/Bindings/XMLHttpRequestPrototype.h>