| 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/dart/ast/ast_factory.dart'; | 6 import 'package:analyzer/dart/ast/ast_factory.dart'; |
| 7 import 'package:analyzer/src/dart/ast/ast.dart'; | 7 import 'package:analyzer/src/dart/ast/ast.dart'; |
| 8 import 'package:analyzer/src/generated/utilities_dart.dart'; | 8 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 9 import 'package:front_end/src/scanner/token.dart'; | 9 import 'package:front_end/src/scanner/token.dart'; |
| 10 import 'package:meta/meta.dart'; | 10 import 'package:meta/meta.dart'; |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 new ExtendsClauseImpl(extendsKeyword, superclass); | 354 new ExtendsClauseImpl(extendsKeyword, superclass); |
| 355 | 355 |
| 356 @override | 356 @override |
| 357 FieldDeclaration fieldDeclaration( | 357 FieldDeclaration fieldDeclaration( |
| 358 Comment comment, | 358 Comment comment, |
| 359 List<Annotation> metadata, | 359 List<Annotation> metadata, |
| 360 Token staticKeyword, | 360 Token staticKeyword, |
| 361 VariableDeclarationList fieldList, | 361 VariableDeclarationList fieldList, |
| 362 Token semicolon) => | 362 Token semicolon) => |
| 363 new FieldDeclarationImpl( | 363 new FieldDeclarationImpl( |
| 364 comment, metadata, staticKeyword, fieldList, semicolon); | 364 comment, metadata, null, staticKeyword, fieldList, semicolon); |
| 365 |
| 366 @override |
| 367 FieldDeclaration fieldDeclaration2( |
| 368 {Comment comment, |
| 369 List<Annotation> metadata, |
| 370 Token covariantKeyword, |
| 371 Token staticKeyword, |
| 372 @required VariableDeclarationList fieldList, |
| 373 @required Token semicolon}) => |
| 374 new FieldDeclarationImpl(comment, metadata, covariantKeyword, |
| 375 staticKeyword, fieldList, semicolon); |
| 365 | 376 |
| 366 @override | 377 @override |
| 367 FieldFormalParameter fieldFormalParameter( | 378 FieldFormalParameter fieldFormalParameter( |
| 368 Comment comment, | 379 Comment comment, |
| 369 List<Annotation> metadata, | 380 List<Annotation> metadata, |
| 370 Token keyword, | 381 Token keyword, |
| 371 TypeAnnotation type, | 382 TypeAnnotation type, |
| 372 Token thisKeyword, | 383 Token thisKeyword, |
| 373 Token period, | 384 Token period, |
| 374 SimpleIdentifier identifier, | 385 SimpleIdentifier identifier, |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 950 | 961 |
| 951 @override | 962 @override |
| 952 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes) => | 963 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes) => |
| 953 new WithClauseImpl(withKeyword, mixinTypes); | 964 new WithClauseImpl(withKeyword, mixinTypes); |
| 954 | 965 |
| 955 @override | 966 @override |
| 956 YieldStatement yieldStatement(Token yieldKeyword, Token star, | 967 YieldStatement yieldStatement(Token yieldKeyword, Token star, |
| 957 Expression expression, Token semicolon) => | 968 Expression expression, Token semicolon) => |
| 958 new YieldStatementImpl(yieldKeyword, star, expression, semicolon); | 969 new YieldStatementImpl(yieldKeyword, star, expression, semicolon); |
| 959 } | 970 } |
| OLD | NEW |