OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 """This module provides shared functionality for the system to generate | 6 """This module provides shared functionality for the system to generate |
7 Dart:html APIs from the IDL database.""" | 7 Dart:html APIs from the IDL database.""" |
8 | 8 |
9 import emitter | 9 import emitter |
10 import logging | 10 import logging |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'Console.profile', | 42 'Console.profile', |
43 'Console.profileEnd', | 43 'Console.profileEnd', |
44 'Console.time', | 44 'Console.time', |
45 'Console.timeEnd', | 45 'Console.timeEnd', |
46 'Console.timeStamp', | 46 'Console.timeStamp', |
47 'Console.trace', | 47 'Console.trace', |
48 'Console.warn', | 48 'Console.warn', |
49 'WebKitCSSKeyframesRule.insertRule', | 49 'WebKitCSSKeyframesRule.insertRule', |
50 'CSSStyleDeclaration.setProperty', | 50 'CSSStyleDeclaration.setProperty', |
51 'Element.createShadowRoot', | 51 'Element.createShadowRoot', |
52 'Element.innerHTML', | |
53 'Element.insertAdjacentElement', | 52 'Element.insertAdjacentElement', |
54 'Element.insertAdjacentHTML', | 53 'Element.insertAdjacentHTML', |
55 'Element.insertAdjacentText', | 54 'Element.insertAdjacentText', |
56 'Element.webkitMatchesSelector', | 55 'Element.webkitMatchesSelector', |
57 'Element.remove', | 56 'Element.remove', |
58 'ElementEvents.mouseWheel', | 57 'ElementEvents.mouseWheel', |
59 'ElementEvents.transitionEnd', | 58 'ElementEvents.transitionEnd', |
60 'DOMException.name', | 59 'DOMException.name', |
61 'HTMLTableElement.createTBody', | 60 'HTMLTableElement.createTBody', |
62 'IDBDatabase.transaction', | 61 'IDBDatabase.transaction', |
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 for library_name in libraries: | 1220 for library_name in libraries: |
1222 self._libraries[library_name] = DartLibrary( | 1221 self._libraries[library_name] = DartLibrary( |
1223 library_name, template_loader, library_type, output_dir) | 1222 library_name, template_loader, library_type, output_dir) |
1224 | 1223 |
1225 def AddFile(self, basename, library_name, path): | 1224 def AddFile(self, basename, library_name, path): |
1226 self._libraries[library_name].AddFile(path) | 1225 self._libraries[library_name].AddFile(path) |
1227 | 1226 |
1228 def Emit(self, emitter, auxiliary_dir): | 1227 def Emit(self, emitter, auxiliary_dir): |
1229 for lib in self._libraries.values(): | 1228 for lib in self._libraries.values(): |
1230 lib.Emit(emitter, auxiliary_dir) | 1229 lib.Emit(emitter, auxiliary_dir) |
OLD | NEW |