OLD | NEW |
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 Loading... |
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 }; |
OLD | NEW |