| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 * Attribute(stringValue) | 155 * Attribute(stringValue) |
| 156 * Type() | 156 * Type() |
| 157 * PrimitiveType(DOMString) | 157 * PrimitiveType(DOMString) |
| 158 */ | 158 */ |
| 159 interface MyIFaceStringifiers { | 159 interface MyIFaceStringifiers { |
| 160 stringifier; | 160 stringifier; |
| 161 stringifier DOMString (); | 161 stringifier DOMString (); |
| 162 stringifier DOMString namedStringifier(); | 162 stringifier DOMString namedStringifier(); |
| 163 stringifier attribute DOMString stringValue; | 163 stringifier attribute DOMString stringValue; |
| 164 }; | 164 }; |
| 165 |
| 166 /* TREE |
| 167 *Interface(MyExtendedAttributeInterface) |
| 168 * Operation(method) |
| 169 * Arguments() |
| 170 * Type() |
| 171 * PrimitiveType(void) |
| 172 * ExtAttributes() |
| 173 * ExtAttribute(Attr) |
| 174 * ExtAttribute(MethodIdentList) |
| 175 * ExtAttributes() |
| 176 * ExtAttribute(MyExtendedAttribute) |
| 177 * ExtAttribute(MyExtendedIdentListAttribute) |
| 178 */ |
| 179 [MyExtendedAttribute, |
| 180 MyExtendedIdentListAttribute=(Foo, Bar, Baz)] |
| 181 interface MyExtendedAttributeInterface { |
| 182 [Attr, MethodIdentList=(Foo, Bar)] void method(); |
| 183 }; |
| OLD | NEW |