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

Unified Diff: tools/idl_parser/test_parser/interface_web.idl

Issue 1295083004: Support FrozenArray in idl_parser.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« tools/idl_parser/idl_lexer.py ('K') | « tools/idl_parser/idl_parser.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/idl_parser/test_parser/interface_web.idl
diff --git a/tools/idl_parser/test_parser/interface_web.idl b/tools/idl_parser/test_parser/interface_web.idl
index 90b0e83e8433707692fc00457aed1dfe056d0f6b..a2c9ae6346609a1e54ed0db50108489bc9eab497 100644
--- a/tools/idl_parser/test_parser/interface_web.idl
+++ b/tools/idl_parser/test_parser/interface_web.idl
@@ -369,3 +369,15 @@ interface MyIfaceSerializer {
serializer = [getter];
serializer = [name1, name2];
};
+
+/* TREE
+ *Interface(MyIfaceFrozenArray)
+ * Attribute(foo)
+ * Type()
+ * FrozenArray()
+ * Type()
+ * PrimitiveType(DOMString)
+ */
+interface MyIfaceFrozenArray {
+ readonly attribute FrozenArray<DOMString> foo;
+};
« tools/idl_parser/idl_lexer.py ('K') | « tools/idl_parser/idl_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698