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

Unified Diff: client/dom/scripts/idlparser.py

Issue 8574040: Support DOMString[] and regenerate from IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Window.postMessage Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/dom/scripts/dartgenerator.py ('k') | client/dom/wrapping_dom.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/idlparser.py
diff --git a/client/dom/scripts/idlparser.py b/client/dom/scripts/idlparser.py
index 69c36ee2bc6efda64355900381a6bc3cfe7c14ba..8e14eb8aacc64558b39bb8b084ab6bf92f382410 100755
--- a/client/dom/scripts/idlparser.py
+++ b/client/dom/scripts/idlparser.py
@@ -284,7 +284,7 @@ class IDLParser(object):
def _NullableType():
return [OR(_IntegerType, BooleanType, OctetType, FloatType,
- DoubleType, SequenceType, ScopedName),
+ DoubleType, SequenceType, DOMStringListType, ScopedName),
MAYBE(Nullable)]
def Nullable():
@@ -342,6 +342,9 @@ class IDLParser(object):
def ScopedName():
return re.compile(r'[\w\_\:\.\<\>]+')
+ def DOMStringListType():
+ return 'DOMString[]'
+
# Extended Attributes:
def ExtAttrs():
return ['[', MANY(ExtAttr, ','), ']']
« no previous file with comments | « client/dom/scripts/dartgenerator.py ('k') | client/dom/wrapping_dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698