| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * Defines the AST model. The AST (Abstract Syntax Tree) model describes the | 6 * Defines the AST model. The AST (Abstract Syntax Tree) model describes the |
| 7 * syntactic (as opposed to semantic) structure of Dart code. The semantic | 7 * syntactic (as opposed to semantic) structure of Dart code. The semantic |
| 8 * structure of the code is modeled by the | 8 * structure of the code is modeled by the |
| 9 * [element model](../element/element.dart). | 9 * [element model](../element/element.dart). |
| 10 * | 10 * |
| (...skipping 2742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2753 /** | 2753 /** |
| 2754 * The declaration of one or more fields of the same type. | 2754 * The declaration of one or more fields of the same type. |
| 2755 * | 2755 * |
| 2756 * fieldDeclaration ::= | 2756 * fieldDeclaration ::= |
| 2757 * 'static'? [VariableDeclarationList] ';' | 2757 * 'static'? [VariableDeclarationList] ';' |
| 2758 * | 2758 * |
| 2759 * Clients may not extend, implement or mix-in this class. | 2759 * Clients may not extend, implement or mix-in this class. |
| 2760 */ | 2760 */ |
| 2761 abstract class FieldDeclaration extends ClassMember { | 2761 abstract class FieldDeclaration extends ClassMember { |
| 2762 /** | 2762 /** |
| 2763 * The 'covariant' keyword, or `null` if the keyword was not used. |
| 2764 */ |
| 2765 Token get covariantKeyword; |
| 2766 |
| 2767 /** |
| 2763 * Return the fields being declared. | 2768 * Return the fields being declared. |
| 2764 */ | 2769 */ |
| 2765 VariableDeclarationList get fields; | 2770 VariableDeclarationList get fields; |
| 2766 | 2771 |
| 2767 /** | 2772 /** |
| 2768 * Set the fields being declared to the given list of [fields]. | 2773 * Set the fields being declared to the given list of [fields]. |
| 2769 */ | 2774 */ |
| 2770 void set fields(VariableDeclarationList fields); | 2775 void set fields(VariableDeclarationList fields); |
| 2771 | 2776 |
| 2772 /** | 2777 /** |
| (...skipping 4256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7029 /** | 7034 /** |
| 7030 * Return the 'yield' keyword. | 7035 * Return the 'yield' keyword. |
| 7031 */ | 7036 */ |
| 7032 Token get yieldKeyword; | 7037 Token get yieldKeyword; |
| 7033 | 7038 |
| 7034 /** | 7039 /** |
| 7035 * Return the 'yield' keyword to the given [token]. | 7040 * Return the 'yield' keyword to the given [token]. |
| 7036 */ | 7041 */ |
| 7037 void set yieldKeyword(Token token); | 7042 void set yieldKeyword(Token token); |
| 7038 } | 7043 } |
| OLD | NEW |