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

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

Issue 21511003: Support symbol literals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 3 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 60f48078f507e1d66fcaeef04fec2e89883d3872..86a7ee6259ce4bf2f96583e49ddf328a7402813d 100644
--- a/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
+++ b/sdk/lib/_internal/compiler/implementation/tree/prettyprint.dart
@@ -367,6 +367,12 @@ class PrettyPrinter implements Visitor {
visitNodeWithChildren(node, "SwitchStatement");
}
+ visitLiteralSymbol(LiteralSymbol node) {
+ openNode(node, "LiteralSymbol");
+ visitChildNode(node.identifiers, "identifiers");
+ closeNode();
+ }
+
visitThrow(Throw node) {
visitNodeWithChildren(node, "Throw");
}

Powered by Google App Engine
This is Rietveld 408576698