Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate import list in codegen bindings from types used #1788

Closed
jdm opened this issue Mar 1, 2014 · 0 comments
Closed

Generate import list in codegen bindings from types used #1788

jdm opened this issue Mar 1, 2014 · 0 comments
Labels
A-content/bindings The DOM bindings B-interesting-project Represents work that is expected to be interesting in some fashion

Comments

@jdm
Copy link
Member

jdm commented Mar 1, 2014

We want/need to get rid of glob imports, so we're going to have to analyze all the types used by a given interface (arguments, attributes, unions, etc.) and import them instead of using dom::bindings::codegen::*, dom::types::*, and dom::bindings::codegen::UnionTypes::*. There's existing code in Gecko's codegen (Codegen.py, or possibly the one in mozilla-central) we may be able to adapt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-content/bindings The DOM bindings B-interesting-project Represents work that is expected to be interesting in some fashion
Projects
None yet
Development

No branches or pull requests

1 participant