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

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

Issue 9117013: Refresh dart:dom from WebKit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/dom/scripts/idlnode.py ('k') | no next file » | 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 8de223e20877f5f79ffd7421a8aab63e4196fcff..cf91ac26227f309e8dd915aadc2036101da9795a 100755
--- a/client/dom/scripts/idlparser.py
+++ b/client/dom/scripts/idlparser.py
@@ -284,7 +284,7 @@ class IDLParser(object):
return ScopedName
def _Type():
- return OR(AnyType, ObjectType, _NullableType)
+ return OR(AnyArrayType, AnyType, ObjectType, _NullableType)
def _NullableType():
return [OR(_IntegerType, BooleanType, OctetType, FloatType,
@@ -300,6 +300,10 @@ class IDLParser(object):
def AnyType():
return 'any'
+ def AnyArrayType():
+ # TODO(sra): Do more general handling of array types.
+ return 'any[]'
+
def ObjectType():
return 'object'
« no previous file with comments | « client/dom/scripts/idlnode.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698