Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart

Issue 2714843002: Add NormalFormalParameter.covariantKeyword setter and factory parameter. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2139d380c56b45b9e2ac161459cc6aa5a3f8aeba..009646dd0d805e2f79b67f893e5b7c5c73f1df14 100644
--- a/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart
+++ b/pkg/analyzer/lib/src/generated/testing/ast_test_factory.dart
@@ -488,6 +488,7 @@ class AstTestFactory {
astFactory.fieldFormalParameter(
null,
null,
+ null,
keyword == null ? null : TokenFactory.tokenFromKeyword(keyword),
type,
TokenFactory.tokenFromKeyword(Keyword.THIS),
@@ -610,7 +611,7 @@ class AstTestFactory {
static FunctionTypedFormalParameter functionTypedFormalParameter(
TypeAnnotation returnType, String identifier,
[List<FormalParameter> parameters]) =>
- astFactory.functionTypedFormalParameter(null, null, returnType,
+ astFactory.functionTypedFormalParameter(null, null, null, returnType,
identifier3(identifier), null, formalParameterList(parameters));
static HideCombinator hideCombinator(List<SimpleIdentifier> identifiers) =>
@@ -1069,6 +1070,7 @@ class AstTestFactory {
astFactory.simpleFormalParameter(
null,
null,
+ null,
keyword == null ? null : TokenFactory.tokenFromKeyword(keyword),
type,
identifier3(parameterName));

Powered by Google App Engine
This is Rietveld 408576698