mirror of
https://github.com/servo/servo.git
synced 2025-06-08 16:43:28 +00:00
Each interface gets its own module named ${Interface}Binding. Structs, enums, and callbacks continue to use the root module of the binding file. If there is only one interface in the file, we generate reexports for several public APIs and types so that existing DOM implementations don't need any modifications. When multiple interfaces exist, the reexported names get the interface name prepended (eg. FooWrap instead of Wrap). As part of this work, stop glob-importing all DOM types in every generated binding and start generating more targeted lists of relevant types based on the methods, members, etc. of WebIDL types that are in use. |
||
---|---|---|
.. | ||
tests | ||
callback-location.patch | ||
debug.patch | ||
pref-main-thread.patch | ||
README | ||
runtests.py | ||
update.sh | ||
UPSTREAM | ||
WebIDL.py |
A WebIDL parser written in Python to be used in Mozilla.