| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'package:analyzer/dart/ast/ast.dart'; | 5 import 'package:analyzer/dart/ast/ast.dart'; |
| 6 import 'package:analyzer/src/generated/utilities_dart.dart'; | 6 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 7 import 'package:front_end/src/scanner/token.dart'; | 7 import 'package:front_end/src/scanner/token.dart'; |
| 8 import 'package:meta/meta.dart'; | 8 import 'package:meta/meta.dart'; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 @required FormalParameterList parameters, | 619 @required FormalParameterList parameters, |
| 620 Token question}); | 620 Token question}); |
| 621 | 621 |
| 622 /** | 622 /** |
| 623 * Initialize a newly created generic function type. | 623 * Initialize a newly created generic function type. |
| 624 */ | 624 */ |
| 625 GenericFunctionType genericFunctionType( | 625 GenericFunctionType genericFunctionType( |
| 626 TypeAnnotation returnType, | 626 TypeAnnotation returnType, |
| 627 Token functionKeyword, | 627 Token functionKeyword, |
| 628 TypeParameterList typeParameters, | 628 TypeParameterList typeParameters, |
| 629 FormalParameterList _parameters); | 629 FormalParameterList parameters); |
| 630 | 630 |
| 631 /** | 631 /** |
| 632 * Returns a newly created generic type alias. Either or both of the | 632 * Returns a newly created generic type alias. Either or both of the |
| 633 * [comment] and [metadata] can be `null` if the variable list does not have | 633 * [comment] and [metadata] can be `null` if the variable list does not have |
| 634 * the corresponding attribute. The [typeParameters] can be `null` if there | 634 * the corresponding attribute. The [typeParameters] can be `null` if there |
| 635 * are no type parameters. | 635 * are no type parameters. |
| 636 */ | 636 */ |
| 637 GenericTypeAlias genericTypeAlias( | 637 GenericTypeAlias genericTypeAlias( |
| 638 Comment comment, | 638 Comment comment, |
| 639 List<Annotation> metadata, | 639 List<Annotation> metadata, |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1114 */ | 1114 */ |
| 1115 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes); | 1115 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes); |
| 1116 | 1116 |
| 1117 /** | 1117 /** |
| 1118 * Returns a newly created yield expression. The [star] can be `null` if no | 1118 * Returns a newly created yield expression. The [star] can be `null` if no |
| 1119 * star was provided. | 1119 * star was provided. |
| 1120 */ | 1120 */ |
| 1121 YieldStatement yieldStatement( | 1121 YieldStatement yieldStatement( |
| 1122 Token yieldKeyword, Token star, Expression expression, Token semicolon); | 1122 Token yieldKeyword, Token star, Expression expression, Token semicolon); |
| 1123 } | 1123 } |
| OLD | NEW |