Index: pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
diff --git a/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart b/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
index 9a5a4589a70e7024793cd30cb922a7d620692ce4..115bad594a6184c8575fa5e50ea4b4c26ab43428 100644 |
--- a/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
+++ b/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart |
@@ -484,16 +484,14 @@ class AstTestFactory { |
static FieldFormalParameter fieldFormalParameter( |
Keyword keyword, TypeAnnotation type, String identifier, |
[FormalParameterList parameterList]) => |
- astFactory.fieldFormalParameter( |
- null, |
- null, |
- keyword == null ? null : TokenFactory.tokenFromKeyword(keyword), |
- type, |
- TokenFactory.tokenFromKeyword(Keyword.THIS), |
- TokenFactory.tokenFromType(TokenType.PERIOD), |
- identifier3(identifier), |
- null, |
- parameterList); |
+ astFactory.fieldFormalParameter2( |
+ keyword: |
+ keyword == null ? null : TokenFactory.tokenFromKeyword(keyword), |
+ type: type, |
+ thisKeyword: TokenFactory.tokenFromKeyword(Keyword.THIS), |
+ period: TokenFactory.tokenFromType(TokenType.PERIOD), |
+ identifier: identifier3(identifier), |
+ parameters: parameterList); |
static FieldFormalParameter fieldFormalParameter2(String identifier) => |
fieldFormalParameter(null, null, identifier); |
@@ -609,8 +607,10 @@ class AstTestFactory { |
static FunctionTypedFormalParameter functionTypedFormalParameter( |
TypeAnnotation returnType, String identifier, |
[List<FormalParameter> parameters]) => |
- astFactory.functionTypedFormalParameter(null, null, returnType, |
- identifier3(identifier), null, formalParameterList(parameters)); |
+ astFactory.functionTypedFormalParameter2( |
+ returnType: returnType, |
+ identifier: identifier3(identifier), |
+ parameters: formalParameterList(parameters)); |
static HideCombinator hideCombinator(List<SimpleIdentifier> identifiers) => |
astFactory.hideCombinator( |
@@ -1065,12 +1065,11 @@ class AstTestFactory { |
static SimpleFormalParameter simpleFormalParameter2( |
Keyword keyword, TypeAnnotation type, String parameterName) => |
- astFactory.simpleFormalParameter( |
- null, |
- null, |
- keyword == null ? null : TokenFactory.tokenFromKeyword(keyword), |
- type, |
- identifier3(parameterName)); |
+ astFactory.simpleFormalParameter2( |
+ keyword: |
+ keyword == null ? null : TokenFactory.tokenFromKeyword(keyword), |
+ type: type, |
+ identifier: identifier3(parameterName)); |
static SimpleFormalParameter simpleFormalParameter3(String parameterName) => |
simpleFormalParameter2(null, null, parameterName); |