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

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

Issue 2637753003: Ast changes to support the covariant keyword (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') | pkg/analyzer/lib/src/dart/ast/ast.dart » ('J')
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 cb171d8457e8d17c097c689b77e31db7510f5a97..9024c486fd22ca1aef06f433762781e21cb7197a 100644
--- a/pkg/analyzer/lib/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/dart/ast/ast.dart
@@ -2991,6 +2991,11 @@ abstract class ForEachStatement extends Statement {
*/
abstract class FormalParameter extends AstNode {
/**
+ * The 'covariant' keyword, or `null` if the keyword was not used.
+ */
+ Token get covariantKeyword;
+
+ /**
* Return the element representing this parameter, or `null` if this parameter
* has not been resolved.
*/
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/ast/ast.dart » ('j') | pkg/analyzer/lib/src/dart/ast/ast.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698