| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 'ConsoleBase.profile', | 45 'ConsoleBase.profile', |
| 46 'ConsoleBase.profileEnd', | 46 'ConsoleBase.profileEnd', |
| 47 'ConsoleBase.table', | 47 'ConsoleBase.table', |
| 48 'ConsoleBase.time', | 48 'ConsoleBase.time', |
| 49 'ConsoleBase.timeEnd', | 49 'ConsoleBase.timeEnd', |
| 50 'ConsoleBase.timeStamp', | 50 'ConsoleBase.timeStamp', |
| 51 'ConsoleBase.trace', | 51 'ConsoleBase.trace', |
| 52 'ConsoleBase.warn', | 52 'ConsoleBase.warn', |
| 53 'WebKitCSSKeyframesRule.insertRule', | 53 'WebKitCSSKeyframesRule.insertRule', |
| 54 'CSSStyleDeclaration.setProperty', | 54 'CSSStyleDeclaration.setProperty', |
| 55 'Document.createNodeIterator', |
| 56 'Document.createTreeWalker', |
| 57 'DOMException.name', |
| 55 'Element.createShadowRoot', | 58 'Element.createShadowRoot', |
| 56 'Element.insertAdjacentElement', | 59 'Element.insertAdjacentElement', |
| 57 'Element.insertAdjacentHTML', | 60 'Element.insertAdjacentHTML', |
| 58 'Element.insertAdjacentText', | 61 'Element.insertAdjacentText', |
| 59 'Element.remove', | 62 'Element.remove', |
| 60 'Element.shadowRoot', | 63 'Element.shadowRoot', |
| 61 'Element.webkitMatchesSelector', | 64 'Element.webkitMatchesSelector', |
| 62 'ElementEvents.mouseWheel', | 65 'ElementEvents.mouseWheel', |
| 63 'ElementEvents.transitionEnd', | 66 'ElementEvents.transitionEnd', |
| 64 'Document.createNodeIterator', | 67 'FileReader.result', |
| 65 'Document.createTreeWalker', | |
| 66 'DOMException.name', | |
| 67 'HTMLTableElement.createTBody', | 68 'HTMLTableElement.createTBody', |
| 68 'IDBCursor.next', | 69 'IDBCursor.next', |
| 69 'IDBDatabase.transaction', | 70 'IDBDatabase.transaction', |
| 70 'IDBDatabase.transactionList', | 71 'IDBDatabase.transactionList', |
| 71 'IDBDatabase.transactionStore', | 72 'IDBDatabase.transactionStore', |
| 72 'IDBDatabase.transactionStores', | 73 'IDBDatabase.transactionStores', |
| 73 'KeyboardEvent.initKeyboardEvent', | 74 'KeyboardEvent.initKeyboardEvent', |
| 74 'Location.origin', | 75 'Location.origin', |
| 75 'MouseEvent.offsetX', | 76 'MouseEvent.offsetX', |
| 76 'MouseEvent.offsetY', | 77 'MouseEvent.offsetY', |
| (...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1241 for library_name in libraries: | 1242 for library_name in libraries: |
| 1242 self._libraries[library_name] = DartLibrary( | 1243 self._libraries[library_name] = DartLibrary( |
| 1243 library_name, template_loader, library_type, output_dir) | 1244 library_name, template_loader, library_type, output_dir) |
| 1244 | 1245 |
| 1245 def AddFile(self, basename, library_name, path): | 1246 def AddFile(self, basename, library_name, path): |
| 1246 self._libraries[library_name].AddFile(path) | 1247 self._libraries[library_name].AddFile(path) |
| 1247 | 1248 |
| 1248 def Emit(self, emitter, auxiliary_dir): | 1249 def Emit(self, emitter, auxiliary_dir): |
| 1249 for lib in self._libraries.values(): | 1250 for lib in self._libraries.values(): |
| 1250 lib.Emit(emitter, auxiliary_dir) | 1251 lib.Emit(emitter, auxiliary_dir) |
| OLD | NEW |