| 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 providesfunctionality for systems to generate | 6 """This module providesfunctionality for systems to generate |
| 7 Dart interfaces from the IDL database.""" | 7 Dart interfaces from the IDL database.""" |
| 8 | 8 |
| 9 import os | 9 import os |
| 10 import systembase | 10 import systembase |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 Arguments: | 206 Arguments: |
| 207 operations - contains the overloads, one or more operations with the same | 207 operations - contains the overloads, one or more operations with the same |
| 208 name. | 208 name. |
| 209 """ | 209 """ |
| 210 self._members_emitter.Emit('\n' | 210 self._members_emitter.Emit('\n' |
| 211 ' $TYPE $NAME($PARAMS);\n', | 211 ' $TYPE $NAME($PARAMS);\n', |
| 212 TYPE=info.type_name, | 212 TYPE=info.type_name, |
| 213 NAME=info.name, | 213 NAME=info.name, |
| 214 PARAMS=info.ParametersInterfaceDeclaration()) | 214 PARAMS=info.ParametersInterfaceDeclaration()) |
| 215 | 215 |
| 216 def AddStaticOperation(self, info): |
| 217 pass |
| 218 |
| 216 # Interfaces get secondary members directly via the superinterfaces. | 219 # Interfaces get secondary members directly via the superinterfaces. |
| 217 def AddSecondaryAttribute(self, interface, getter, setter): | 220 def AddSecondaryAttribute(self, interface, getter, setter): |
| 218 pass | 221 pass |
| 219 | 222 |
| 220 def AddSecondaryOperation(self, interface, attr): | 223 def AddSecondaryOperation(self, interface, attr): |
| 221 pass | 224 pass |
| OLD | NEW |