diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-12-13 09:00:26 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-01-12 12:34:18 +0100 |
commit | 833e0d2fac7724967e15cff61c95610f18c6b958 (patch) | |
tree | 6950887baee9301e3e59b4bb4b1c05d633ebeb1d /components/script/dom/bindings/codegen/Configuration.py | |
parent | 967948be06327997f7c1a6e3c9291e75753ced85 (diff) | |
download | servo-833e0d2fac7724967e15cff61c95610f18c6b958.tar.gz servo-833e0d2fac7724967e15cff61c95610f18c6b958.zip |
Refactor prototype initialisation
The function do_create_interface_objects is removed in favour of 4 functions:
create_callback_interface_object, create_interface_prototype_object,
create_noncallback_interface_object and create_named_constructors.
While this increases the amount of codegen'd code, this greatly improves the
readability of the code involved in this part of DOM, instead of having one function
doing 4 different things. We can always find a more adequate abstraction later.
NativeProperties and everything related to the interface objects have been removed
from the utils module.
Diffstat (limited to 'components/script/dom/bindings/codegen/Configuration.py')
0 files changed, 0 insertions, 0 deletions