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

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

Issue 2048613002: Upstream the grammer for union types to idl_parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « tools/idl_parser/idl_parser.py ('k') | no next file » | 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 *Interface(MyIfaceFrozenArray) 374 *Interface(MyIfaceFrozenArray)
375 * Attribute(foo) 375 * Attribute(foo)
376 * Type() 376 * Type()
377 * FrozenArray() 377 * FrozenArray()
378 * Type() 378 * Type()
379 * PrimitiveType(DOMString) 379 * PrimitiveType(DOMString)
380 */ 380 */
381 interface MyIfaceFrozenArray { 381 interface MyIfaceFrozenArray {
382 readonly attribute FrozenArray<DOMString> foo; 382 readonly attribute FrozenArray<DOMString> foo;
383 }; 383 };
384
385 /* TREE
386 *Interface(MyIfaceUnion)
387 * Attribute(foo)
388 * Type()
389 * UnionType()
390 * Type()
391 * PrimitiveType(DOMString)
392 * Type()
393 * PrimitiveType(long)
394 */
395 interface MyIfaceUnion {
396 attribute (DOMString or long) foo;
397 };
OLDNEW
« no previous file with comments | « tools/idl_parser/idl_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698