| 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 Dictionary productions | 5 /* Test Dictionary 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 *Dictionary(MyDictNull) | 85 *Dictionary(MyDictNull) |
| 86 * Key(setString) | 86 * Key(setString) |
| 87 * Type() | 87 * Type() |
| 88 * PrimitiveType(DOMString) | 88 * PrimitiveType(DOMString) |
| 89 * Default(NULL) | 89 * Default(NULL) |
| 90 */ | 90 */ |
| 91 dictionary MyDictNull { | 91 dictionary MyDictNull { |
| 92 DOMString? setString = null; | 92 DOMString? setString = null; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 | 95 /* ERROR Unexpected keyword "attribute" after "{". */ |
| 96 dictionary MyDictUnexpectedAttribute { |
| 97 attribute DOMString foo = ""; |
| 98 }; |
| OLD | NEW |