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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 'ConsoleBase.profile', | 46 'ConsoleBase.profile', |
47 'ConsoleBase.profileEnd', | 47 'ConsoleBase.profileEnd', |
48 'ConsoleBase.table', | 48 'ConsoleBase.table', |
49 'ConsoleBase.time', | 49 'ConsoleBase.time', |
50 'ConsoleBase.timeEnd', | 50 'ConsoleBase.timeEnd', |
51 'ConsoleBase.timeStamp', | 51 'ConsoleBase.timeStamp', |
52 'ConsoleBase.trace', | 52 'ConsoleBase.trace', |
53 'ConsoleBase.warn', | 53 'ConsoleBase.warn', |
54 'WebKitCSSKeyframesRule.insertRule', | 54 'WebKitCSSKeyframesRule.insertRule', |
55 'CSSStyleDeclaration.setProperty', | 55 'CSSStyleDeclaration.setProperty', |
| 56 'CSSStyleDeclaration.__propertyQuery__', |
56 'Document.createNodeIterator', | 57 'Document.createNodeIterator', |
57 'Document.createTreeWalker', | 58 'Document.createTreeWalker', |
58 'DOMException.name', | 59 'DOMException.name', |
59 'Element.createShadowRoot', | 60 'Element.createShadowRoot', |
60 'Element.insertAdjacentElement', | 61 'Element.insertAdjacentElement', |
61 'Element.insertAdjacentHTML', | 62 'Element.insertAdjacentHTML', |
62 'Element.insertAdjacentText', | 63 'Element.insertAdjacentText', |
63 'Element.remove', | 64 'Element.remove', |
64 'Element.shadowRoot', | 65 'Element.shadowRoot', |
65 'Element.matches', | 66 'Element.matches', |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 | 1267 |
1267 def AddFile(self, basename, library_name, path): | 1268 def AddFile(self, basename, library_name, path): |
1268 self._libraries[library_name].AddFile(path) | 1269 self._libraries[library_name].AddFile(path) |
1269 | 1270 |
1270 def AddTypeEntry(self, library_name, idl_name, dart_name): | 1271 def AddTypeEntry(self, library_name, idl_name, dart_name): |
1271 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) | 1272 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) |
1272 | 1273 |
1273 def Emit(self, emitter, auxiliary_dir): | 1274 def Emit(self, emitter, auxiliary_dir): |
1274 for lib in self._libraries.values(): | 1275 for lib in self._libraries.values(): |
1275 lib.Emit(emitter, auxiliary_dir) | 1276 lib.Emit(emitter, auxiliary_dir) |
OLD | NEW |