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

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

Issue 653343002: Support Promise<T> syntax in the IDL parser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_parser.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 8d41e91f82ccc7b51eaee72d5ccba87d28abd3dd..1f0db1c67aadb407cb2bd3aff2d692159bcba430 100644
--- a/tools/idl_parser/test_parser/interface_web.idl
+++ b/tools/idl_parser/test_parser/interface_web.idl
@@ -181,3 +181,24 @@ interface MyIFaceStringifiers {
interface MyExtendedAttributeInterface {
[Attr, MethodIdentList=(Foo, Bar)] void method();
};
+
+/* TREE
+ *Interface(MyIfacePromise)
+ * Operation(method1)
+ * Arguments()
+ * Type()
+ * Promise(Promise)
noelallen1 2014/10/15 18:12:32 Shouldn't this be Promise(void) or Promise()
yhirano 2014/10/16 05:25:47 Done.
+ * Operation(method2)
+ * Arguments()
+ * Type()
+ * Promise(Promise)
+ * Operation(method3)
+ * Arguments()
+ * Type()
+ * Promise(Promise)
+ */
+interface MyIfacePromise {
+ Promise<void> method1();
+ Promise<long> method2();
+ Promise method3();
+};
« tools/idl_parser/idl_parser.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