зеркало из https://github.com/mozilla/gecko-dev.git
dd82a0d964
We mark constructors as static in the parser because they are. This allows us to just use the isStatic() for the IDLMember to mark our declarations static. To generate an example interface implementation, just "make interfacename-example" in $objdir/dom/bindings. This will place files called interfacename-example.h and interfacename-example.cpp in that directory. For example, "make XMLHttpRequest-example" will get you $objdir/dom/bindings/XMLHttpRequest-example.h and $objdir/dom/bindings/XMLHttpRequest-example.cpp. Attribute getters currently default to const methods, while setters and operations default to non-const methods. --HG-- rename : dom/bindings/BindingGen.py => dom/bindings/ExampleGen.py |
||
---|---|---|
.. | ||
tests | ||
README | ||
UPSTREAM | ||
WebIDL.py | ||
runtests.py |
README
A WebIDL parser written in Python to be used in Mozilla.