gecko/dom/bindings/parser
Boris Zbarsky f1bf746514 Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst
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
2012-10-17 17:01:55 -04:00
..
tests Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst 2012-10-17 17:01:55 -04:00
README
runtests.py Bug 742153 part 1. Add support for dictionaries in the WebIDL parser. r=khuey 2012-06-12 10:22:05 -04:00
UPSTREAM
WebIDL.py Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst 2012-10-17 17:01:55 -04:00

A WebIDL parser written in Python to be used in Mozilla.