OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 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 ExtendedAttribute productions | 5 /* Test ExtendedAttribute 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 [foo=true] interface Foo {}; | 83 [foo=true] interface Foo {}; |
84 | 84 |
85 /* TREE | 85 /* TREE |
86 *Interface(Foo) | 86 *Interface(Foo) |
87 * ExtAttributes() | 87 * ExtAttributes() |
88 * ExtAttribute(foo) | 88 * ExtAttribute(foo) |
89 */ | 89 */ |
90 | 90 |
91 [foo=1.2e-3] interface Foo {}; | 91 [foo=1.2e-3] interface Foo {}; |
| 92 |
| 93 /* TREE |
| 94 *Interface(Foo) |
| 95 * ExtAttributes() |
| 96 * ExtAttribute(foo) |
| 97 */ |
| 98 |
| 99 [foo=(bar, baz)] interface Foo {}; |
OLD | NEW |