gecko-dev/dom/bindings/parser
Adrian Wielgosik 35b93ce926 Bug 1297480 - Add BindingAlias= for WebIDL attrbutes, use it to slim CSS2Properties down. r=bz
As opposed to Alias attribute, which reuses the JS function object for the property, BindingAlias will only reuse the generated attribute binding implementation, without changing observable behavior. It can be used to reduce amount of generated code, if the attributes are known to behave exactly the same.

This cuts the size of generated CSS2PropertiesBinding.cpp by half, and removes ~100kB of dupicated code from libxul.

MozReview-Commit-ID: G0q8TbaqFdp

--HG--
extra : rebase_source : 87a2a501cc8adb379df1f4563d3696a339abd0fc
2018-01-23 20:47:05 +01:00
..
tests Bug 1414359. Remove vestigial support for 'creator' operations from webidl; all setters are creators. r=qdot 2017-11-04 00:36:10 -04:00
README
UPSTREAM
WebIDL.py Bug 1297480 - Add BindingAlias= for WebIDL attrbutes, use it to slim CSS2Properties down. r=bz 2018-01-23 20:47:05 +01:00
runtests.py Bug 1335796 - Move WebIDL parser tests out of 'make check'; r=dustin,Ms2ger 2017-01-31 19:08:50 -05:00

README

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