Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: lib/dom/scripts/systeminterface.py

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Introducing AddStaticOperation Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/dom/scripts/systemhtml.py ('k') | lib/dom/scripts/systemnative.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « lib/dom/scripts/systemhtml.py ('k') | lib/dom/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698