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

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

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « tools/idl_parser/idl_parser.py ('k') | tools/lsan/suppressions.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 * PrimitiveType(DOMString) 58 * PrimitiveType(DOMString)
59 * Error(Missing argument.) 59 * Error(Missing argument.)
60 * Type() 60 * Type()
61 * PrimitiveType(void) 61 * PrimitiveType(void)
62 */ 62 */
63 interface MyIFaceMissingArgument { 63 interface MyIFaceMissingArgument {
64 void foo(DOMString arg, ); 64 void foo(DOMString arg, );
65 }; 65 };
66 66
67 /* TREE 67 /* TREE
68 *Error(Unexpected keyword "double" after keyword "readonly".)
69 */
70 interface MyIFaceMissingAttribute {
71 readonly double foo;
72 };
73
74 /* TREE
68 *Interface(MyIFaceBig) 75 *Interface(MyIFaceBig)
69 * Const(setString) 76 * Const(setString)
70 * PrimitiveType(DOMString) 77 * PrimitiveType(DOMString)
71 * Value(NULL) 78 * Value(NULL)
72 */ 79 */
73 interface MyIFaceBig { 80 interface MyIFaceBig {
74 const DOMString? setString = null; 81 const DOMString? setString = null;
75 }; 82 };
76 83
77 /* TREE 84 /* TREE
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 * Type() 299 * Type()
293 * PrimitiveType(long) 300 * PrimitiveType(long)
294 * Setlike() 301 * Setlike()
295 * Type() 302 * Type()
296 * PrimitiveType(double) 303 * PrimitiveType(double)
297 */ 304 */
298 interface MyIfaceSetlike { 305 interface MyIfaceSetlike {
299 readonly setlike<long>; 306 readonly setlike<long>;
300 setlike<double>; 307 setlike<double>;
301 }; 308 };
OLDNEW
« no previous file with comments | « tools/idl_parser/idl_parser.py ('k') | tools/lsan/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698