DescriptionThis change is the start of code to generate dart:html using dart:dom scripts. It essentially just adds the scaffolding for dart:html, and implements the generation of the "Events" interface and "EventsImpl" classes. There's more to do before the result is actually usable. For example, this doesn't contain EventsImplementation--I'm assuming we'll take jacobr's handwritten version.
I didn't check in the ../generated/html folder yet, but let me know if that makes sense.
(Note: I started with a copy of DartInterfaceGenerator instead of inheriting, but it ended up causing extra duplication when merging Stephen's recent getter/setter change. I think inheritance will be an easier way to build up the functionality, because we're essentially saying "dart:html is like dart:dom, but apply these extra transforms". Once most of the methods are overridden it would definitely make sense to break the link.)
Committed: https://code.google.com/p/dart/source/detail?r=4021
Patch Set 1 #Patch Set 2 : merged #
Total comments: 10
Patch Set 3 : cr feedback #Patch Set 4 : removed html_frog #Patch Set 5 : merged #Patch Set 6 : merged #
Messages
Total messages: 6 (0 generated)
|