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

Side by Side Diff: sky/engine/bindings/scripts/utilities.py

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 years, 10 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Utility functions (file reading, simple IDL parsing by regexes) for IDL build . 5 """Utility functions (file reading, simple IDL parsing by regexes) for IDL build .
6 6
7 Design doc: http://www.chromium.org/developers/design-documents/idl-build 7 Design doc: http://www.chromium.org/developers/design-documents/idl-build
8 """ 8 """
9 9
10 import os 10 import os
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 def get_put_forward_interfaces_from_idl(file_contents): 180 def get_put_forward_interfaces_from_idl(file_contents):
181 put_forwards_pattern = (r'\[[^\]]*PutForwards=[^\]]*\]\s+' 181 put_forwards_pattern = (r'\[[^\]]*PutForwards=[^\]]*\]\s+'
182 r'readonly\s+' 182 r'readonly\s+'
183 r'attribute\s+' 183 r'attribute\s+'
184 r'(\w+)') 184 r'(\w+)')
185 return sorted(set(match.group(1) 185 return sorted(set(match.group(1)
186 for match in re.finditer(put_forwards_pattern, 186 for match in re.finditer(put_forwards_pattern,
187 file_contents, 187 file_contents,
188 flags=re.DOTALL))) 188 flags=re.DOTALL)))
OLDNEW
« no previous file with comments | « sky/engine/bindings/scripts/templates/methods_cpp.template ('k') | sky/engine/bindings/scripts/v8_attributes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698