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

Unified Diff: dart/lib/compiler/implementation/tree/unparser.dart

Issue 11027023: Parse/unparse library combinators. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 | « dart/lib/compiler/implementation/tree/nodes.dart ('k') | dart/tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/tree/unparser.dart
diff --git a/dart/lib/compiler/implementation/tree/unparser.dart b/dart/lib/compiler/implementation/tree/unparser.dart
index c9f166582f0a5c676b5b629158333224195c8d32..c246dc7e6bfc7eb3094067502fb8950c8b4bc811 100644
--- a/dart/lib/compiler/implementation/tree/unparser.dart
+++ b/dart/lib/compiler/implementation/tree/unparser.dart
@@ -518,6 +518,7 @@ class Unparser implements Visitor {
visit(node.prefix);
}
if (node.combinators != null) {
+ sb.add(' ');
visit(node.combinators);
}
add(node.getEndToken().value);
@@ -527,6 +528,7 @@ class Unparser implements Visitor {
addToken(node.exportKeyword);
visit(node.uri);
if (node.combinators != null) {
+ sb.add(' ');
visit(node.combinators);
}
add(node.getEndToken().value);
@@ -544,4 +546,9 @@ class Unparser implements Visitor {
visit(node.name);
add(node.getEndToken().value);
}
+
+ visitCombinator(Combinator node) {
+ addToken(node.keywordToken);
+ visit(node.identifiers);
+ }
}
« no previous file with comments | « dart/lib/compiler/implementation/tree/nodes.dart ('k') | dart/tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698