| 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 f13b36b8233e5fe70b0a587e53be78d0e9c311af..a1d0fad161293cc63ed5aa3fc20af1c23fbcb288 100644
|
| --- a/dart/lib/compiler/implementation/tree/unparser.dart
|
| +++ b/dart/lib/compiler/implementation/tree/unparser.dart
|
| @@ -515,4 +515,46 @@ class Unparser implements Visitor {
|
| visit(node.formals);
|
| add(node.endToken.value);
|
| }
|
| +
|
| + visitLibraryName(LibraryName node) {
|
| + addToken(node.libraryKeyword);
|
| + node.visitChildren(this);
|
| + add(node.getEndToken().value);
|
| + }
|
| +
|
| + visitImport(Import node) {
|
| + addToken(node.importKeyword);
|
| + visit(node.uri);
|
| + if (node.prefix != null) {
|
| + sb.add(' ');
|
| + addToken(node.asKeyword);
|
| + visit(node.prefix);
|
| + }
|
| + if (node.combinators != null) {
|
| + visit(node.combinators);
|
| + }
|
| + add(node.getEndToken().value);
|
| + }
|
| +
|
| + visitExport(Export node) {
|
| + addToken(node.exportKeyword);
|
| + visit(node.uri);
|
| + if (node.combinators != null) {
|
| + visit(node.combinators);
|
| + }
|
| + add(node.getEndToken().value);
|
| + }
|
| +
|
| + visitPart(Part node) {
|
| + addToken(node.partKeyword);
|
| + visit(node.uri);
|
| + add(node.getEndToken().value);
|
| + }
|
| +
|
| + visitPartOf(PartOf node) {
|
| + addToken(node.partKeyword);
|
| + addToken(node.ofKeyword);
|
| + visit(node.name);
|
| + add(node.getEndToken().value);
|
| + }
|
| }
|
|
|