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

Side by Side Diff: tools/idl_parser/test_parser/interface_web.idl

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. */ 3 found in the LICENSE file. */
4 4
5 /* Test Interface productions 5 /* Test Interface productions
6 6
7 Run with --test to generate an AST and verify that all comments accurately 7 Run with --test to generate an AST and verify that all comments accurately
8 reflect the state of the Nodes. 8 reflect the state of the Nodes.
9 9
10 BUILD Type(Name) 10 BUILD Type(Name)
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 *Interface(MyIFaceBig) 68 *Interface(MyIFaceBig)
69 * Const(setString) 69 * Const(setString)
70 * PrimitiveType(DOMString) 70 * PrimitiveType(DOMString)
71 * Value(NULL) 71 * Value(NULL)
72 */ 72 */
73 interface MyIFaceBig { 73 interface MyIFaceBig {
74 const DOMString? setString = null; 74 const DOMString? setString = null;
75 }; 75 };
76 76
77 /* TREE 77 /* TREE
78 *Interface(MyIfaceEmptySequenceDefalutValue)
79 * Operation(foo)
80 * Arguments()
81 * Argument(arg)
82 * Type()
83 * Sequence()
84 * Type()
85 * PrimitiveType(DOMString)
86 * Default()
87 * Type()
88 * PrimitiveType(void)
89 */
90 interface MyIfaceEmptySequenceDefalutValue {
91 void foo(optional sequence<DOMString> arg = []);
92 };
93
94 /* TREE
78 *Interface(MyIFaceBig2) 95 *Interface(MyIFaceBig2)
79 * Const(nullValue) 96 * Const(nullValue)
80 * PrimitiveType(DOMString) 97 * PrimitiveType(DOMString)
81 * Value(NULL) 98 * Value(NULL)
82 * Const(longValue) 99 * Const(longValue)
83 * PrimitiveType(long) 100 * PrimitiveType(long)
84 * Value(123) 101 * Value(123)
85 * Const(longValue2) 102 * Const(longValue2)
86 * PrimitiveType(long long) 103 * PrimitiveType(long long)
87 * Value(123) 104 * Value(123)
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 * Type() 292 * Type()
276 * PrimitiveType(long) 293 * PrimitiveType(long)
277 * Setlike() 294 * Setlike()
278 * Type() 295 * Type()
279 * PrimitiveType(double) 296 * PrimitiveType(double)
280 */ 297 */
281 interface MyIfaceSetlike { 298 interface MyIfaceSetlike {
282 readonly setlike<long>; 299 readonly setlike<long>;
283 setlike<double>; 300 setlike<double>;
284 }; 301 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698