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

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

Issue 1295083004: Support FrozenArray in idl_parser.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 serializer = { getter }; 362 serializer = { getter };
363 serializer = { attribute }; 363 serializer = { attribute };
364 serializer = { inherit, attribute }; 364 serializer = { inherit, attribute };
365 serializer = { inherit }; 365 serializer = { inherit };
366 serializer = { inherit, name1, name2 }; 366 serializer = { inherit, name1, name2 };
367 serializer = { name1, name2 }; 367 serializer = { name1, name2 };
368 serializer = []; 368 serializer = [];
369 serializer = [getter]; 369 serializer = [getter];
370 serializer = [name1, name2]; 370 serializer = [name1, name2];
371 }; 371 };
372
373 /* TREE
374 *Interface(MyIfaceFrozenArray)
375 * Attribute(foo)
376 * Type()
377 * FrozenArray()
378 * Type()
379 * PrimitiveType(DOMString)
380 */
381 interface MyIfaceFrozenArray {
382 readonly attribute FrozenArray<DOMString> foo;
383 };
OLDNEW
« tools/idl_parser/idl_lexer.py ('K') | « tools/idl_parser/idl_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698