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

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

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress Created 5 years, 9 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/valgrind/asan/asan_symbolize.py » ('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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }; 65 };
66 66
67 /* TREE 67 /* TREE
68 *Error(Unexpected keyword "double" after keyword "readonly".) 68 *Error(Unexpected keyword "double" after keyword "readonly".)
69 */ 69 */
70 interface MyIFaceMissingAttribute { 70 interface MyIFaceMissingAttribute {
71 readonly double foo; 71 readonly double foo;
72 }; 72 };
73 73
74 /* TREE 74 /* TREE
75 *Interface(MyIFaceContainsUnresolvedConflictDiff)
76 * Operation(foo)
77 * Arguments()
78 * Type()
79 * PrimitiveType(DOMString)
80 * Error(Unexpected "<" after ";".)
81 */
82 interface MyIFaceContainsUnresolvedConflictDiff {
83 DOMString foo();
84 <<<<<< ours
85 DOMString bar();
86 iterable<long>;
87 ======
88 >>>>>> theirs
89 };
90
91 /* TREE
75 *Interface(MyIFaceBig) 92 *Interface(MyIFaceBig)
76 * Const(setString) 93 * Const(setString)
77 * PrimitiveType(DOMString) 94 * PrimitiveType(DOMString)
78 * Value(NULL) 95 * Value(NULL)
79 */ 96 */
80 interface MyIFaceBig { 97 interface MyIFaceBig {
81 const DOMString? setString = null; 98 const DOMString? setString = null;
82 }; 99 };
83 100
84 /* TREE 101 /* TREE
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 * Type() 316 * Type()
300 * PrimitiveType(long) 317 * PrimitiveType(long)
301 * Setlike() 318 * Setlike()
302 * Type() 319 * Type()
303 * PrimitiveType(double) 320 * PrimitiveType(double)
304 */ 321 */
305 interface MyIfaceSetlike { 322 interface MyIfaceSetlike {
306 readonly setlike<long>; 323 readonly setlike<long>;
307 setlike<double>; 324 setlike<double>;
308 }; 325 };
OLDNEW
« no previous file with comments | « tools/idl_parser/idl_parser.py ('k') | tools/valgrind/asan/asan_symbolize.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698