| 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 5293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5304 * | 5304 * |
| 5305 * normalFormalParameter ::= | 5305 * normalFormalParameter ::= |
| 5306 * [FunctionTypedFormalParameter] | 5306 * [FunctionTypedFormalParameter] |
| 5307 * | [FieldFormalParameter] | 5307 * | [FieldFormalParameter] |
| 5308 * | [SimpleFormalParameter] | 5308 * | [SimpleFormalParameter] |
| 5309 * | 5309 * |
| 5310 * Clients may not extend, implement or mix-in this class. | 5310 * Clients may not extend, implement or mix-in this class. |
| 5311 */ | 5311 */ |
| 5312 abstract class NormalFormalParameter extends FormalParameter { | 5312 abstract class NormalFormalParameter extends FormalParameter { |
| 5313 /** | 5313 /** |
| 5314 * Set the token for the 'covariant' keyword to the given [token]. | |
| 5315 */ | |
| 5316 void set covariantKeyword(Token token); | |
| 5317 | |
| 5318 /** | |
| 5319 * Return the documentation comment associated with this parameter, or `null` | 5314 * Return the documentation comment associated with this parameter, or `null` |
| 5320 * if this parameter does not have a documentation comment associated with it. | 5315 * if this parameter does not have a documentation comment associated with it. |
| 5321 */ | 5316 */ |
| 5322 Comment get documentationComment; | 5317 Comment get documentationComment; |
| 5323 | 5318 |
| 5324 /** | 5319 /** |
| 5325 * Set the documentation comment associated with this parameter to the given | 5320 * Set the documentation comment associated with this parameter to the given |
| 5326 * [comment]. | 5321 * [comment]. |
| 5327 */ | 5322 */ |
| 5328 void set documentationComment(Comment comment); | 5323 void set documentationComment(Comment comment); |
| (...skipping 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7039 /** | 7034 /** |
| 7040 * Return the 'yield' keyword. | 7035 * Return the 'yield' keyword. |
| 7041 */ | 7036 */ |
| 7042 Token get yieldKeyword; | 7037 Token get yieldKeyword; |
| 7043 | 7038 |
| 7044 /** | 7039 /** |
| 7045 * Return the 'yield' keyword to the given [token]. | 7040 * Return the 'yield' keyword to the given [token]. |
| 7046 */ | 7041 */ |
| 7047 void set yieldKeyword(Token token); | 7042 void set yieldKeyword(Token token); |
| 7048 } | 7043 } |
| OLD | NEW |