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__', | |
57 'Document.createNodeIterator', | 56 'Document.createNodeIterator', |
58 'Document.createTreeWalker', | 57 'Document.createTreeWalker', |
59 'DOMException.name', | 58 'DOMException.name', |
60 'Element.createShadowRoot', | 59 'Element.createShadowRoot', |
61 'Element.insertAdjacentElement', | 60 'Element.insertAdjacentElement', |
62 'Element.insertAdjacentHTML', | 61 'Element.insertAdjacentHTML', |
63 'Element.insertAdjacentText', | 62 'Element.insertAdjacentText', |
64 'Element.remove', | 63 'Element.remove', |
65 'Element.shadowRoot', | 64 'Element.shadowRoot', |
66 'Element.matches', | 65 'Element.matches', |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 | 1266 |
1268 def AddFile(self, basename, library_name, path): | 1267 def AddFile(self, basename, library_name, path): |
1269 self._libraries[library_name].AddFile(path) | 1268 self._libraries[library_name].AddFile(path) |
1270 | 1269 |
1271 def AddTypeEntry(self, library_name, idl_name, dart_name): | 1270 def AddTypeEntry(self, library_name, idl_name, dart_name): |
1272 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) | 1271 self._libraries[library_name].AddTypeEntry(idl_name, dart_name) |
1273 | 1272 |
1274 def Emit(self, emitter, auxiliary_dir): | 1273 def Emit(self, emitter, auxiliary_dir): |
1275 for lib in self._libraries.values(): | 1274 for lib in self._libraries.values(): |
1276 lib.Emit(emitter, auxiliary_dir) | 1275 lib.Emit(emitter, auxiliary_dir) |
OLD | NEW |