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

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

Issue 329853005: IDL parser: align with current Web IDL specification (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebased Created 6 years, 6 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 | « tools/idl_parser/test_parser/enum_web.idl ('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 a8a4135e5c1864554b106c26fb4534d8870b207f..accbf35ec928e2f4653fde023c95730c28018760 100644
--- a/tools/idl_parser/test_parser/interface_web.idl
+++ b/tools/idl_parser/test_parser/interface_web.idl
@@ -76,13 +76,23 @@ interface MyIFaceBig {
* Attribute(readOnlyString)
* Type()
* PrimitiveType(DOMString)
+ * Attribute(staticString)
+ * Type()
+ * PrimitiveType(DOMString)
* Operation(myFunction)
+ * Arguments()
+ * Argument(myLong)
+ * Type()
+ * PrimitiveType(long long)
* Type()
* PrimitiveType(void)
+ * Operation(staticFunction)
* Arguments()
* Argument(myLong)
* Type()
* PrimitiveType(long long)
+ * Type()
+ * PrimitiveType(void)
*/
interface MyIFaceBig2 {
const DOMString? nullValue = null;
@@ -90,35 +100,37 @@ interface MyIFaceBig2 {
const long long longValue2 = 123;
attribute DOMString myString;
readonly attribute DOMString readOnlyString;
+ static attribute DOMString staticString;
void myFunction(long long myLong);
+ static void staticFunction(long long myLong);
};
/* TREE
*Interface(MyIFaceSpecials)
* Operation(set)
- * Type()
- * PrimitiveType(void)
* Arguments()
* Argument(property)
* Type()
* PrimitiveType(DOMString)
- * Operation(_unnamed_)
* Type()
- * PrimitiveType(double)
+ * PrimitiveType(void)
+ * Operation(_unnamed_)
* Arguments()
* Argument(property)
* Type()
* PrimitiveType(DOMString)
- * Operation(GetFiveSix)
* Type()
- * PrimitiveType(long long)
- * Array(5)
- * Array(6)
+ * PrimitiveType(double)
+ * Operation(GetFiveSix)
* Arguments()
* Argument(arg)
* Type()
* Typeref(SomeType)
+ * Type()
+ * PrimitiveType(long long)
+ * Array(5)
+ * Array(6)
*/
interface MyIFaceSpecials {
setter creator void set(DOMString property);
« no previous file with comments | « tools/idl_parser/test_parser/enum_web.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698