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

Unified Diff: sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart

Issue 11878043: Start adding support for mixin application syntax. We now parse the typedef variant of mixin applic… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix broken language test. Created 7 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
Index: sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
diff --git a/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart b/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
index 683ab5ae6aada99f224b97bc0519e60a468df2b5..129c637b98a894d349406f162b8c3c203f383f76 100644
--- a/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
+++ b/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
@@ -263,6 +263,10 @@ class PrettyPrinter implements Visitor {
{"value" : node.token.slowToString()});
}
+ visitMixinApplication(MixinApplication node) {
+ visitNodeWithChildren(node, "MixinApplication");
+ }
+
visitModifiers(Modifiers node) {
visitNodeWithChildren(node, "Modifiers");
}
@@ -271,6 +275,10 @@ class PrettyPrinter implements Visitor {
visitNodeWithChildren(node, "NamedArgument");
}
+ visitNamedMixinApplication(NamedMixinApplication node) {
+ visitNodeWithChildren(node, "NamedMixinApplication");
+ }
+
visitNewExpression(NewExpression node) {
visitNodeWithChildren(node, "NewExpression");
}

Powered by Google App Engine
This is Rietveld 408576698