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

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

Issue 2639323002: Add missing AST support for covariant keyword and fix bug from previous CL (Closed)
Patch Set: Created 3 years, 11 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/src/dart/ast/ast.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 53522941d20bdd8e0ac1ebc2f8e7daf0910cdb20..38e477fc02b1d52ebad44d685481a8acb3826d63 100644
--- a/pkg/analyzer/lib/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/dart/ast/ast.dart
@@ -2760,6 +2760,11 @@ abstract class ExtendsClause extends AstNode {
*/
abstract class FieldDeclaration extends ClassMember {
/**
+ * The 'covariant' keyword, or `null` if the keyword was not used.
+ */
+ Token get covariantKeyword;
+
+ /**
* Return the fields being declared.
*/
VariableDeclarationList get fields;
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/ast/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698