| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 """ | 191 """ |
| 192 Arguments: | 192 Arguments: |
| 193 operations - contains the overloads, one or more operations with the same | 193 operations - contains the overloads, one or more operations with the same |
| 194 name. | 194 name. |
| 195 """ | 195 """ |
| 196 self._members_emitter.Emit('\n' | 196 self._members_emitter.Emit('\n' |
| 197 ' $TYPE $NAME($PARAMS);\n', | 197 ' $TYPE $NAME($PARAMS);\n', |
| 198 TYPE=self._DartType(info.type_name), | 198 TYPE=self._DartType(info.type_name), |
| 199 NAME=info.name, | 199 NAME=info.name, |
| 200 PARAMS=info.ParametersInterfaceDeclaration(self._
DartType)) | 200 PARAMS=info.ParametersInterfaceDeclaration(self._
DartType)) |
| OLD | NEW |