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

Unified Diff: pkg/analyzer/lib/dart/ast/ast.dart

Issue 2722033002: Add an AST factory method for fieldDeclaration with all optional named parameters. (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
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/ast/ast_factory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/dart/ast/ast.dart
diff --git a/pkg/analyzer/lib/dart/ast/ast.dart b/pkg/analyzer/lib/dart/ast/ast.dart
index 624f84005479d3e522ce24a8c4983dc9e4e342dd..0c65f34f43dde396d0468335f0cf4fb3c4ccd347 100644
--- a/pkg/analyzer/lib/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/dart/ast/ast.dart
@@ -2765,6 +2765,11 @@ abstract class FieldDeclaration extends ClassMember {
Token get covariantKeyword;
/**
+ * Set the token for the 'covariant' keyword to the given [token].
+ */
+ void set covariantKeyword(Token token);
+
+ /**
* Return the fields being declared.
*/
VariableDeclarationList get fields;
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/ast/ast_factory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698