| Index: sdk/lib/_internal/compiler/implementation/tree/unparser.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/tree/unparser.dart b/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
|
| index ce0b60eea650579556b9dc6aea7c829b60ce8449..b085d49c53f2c98b5f3e4cc8e93ec0db0278f3c2 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
|
| @@ -641,9 +641,19 @@ class Unparser extends Indentation implements Visitor {
|
| indentLess();
|
| }
|
|
|
| - unparseImportTag(String uri, [String prefix]) {
|
| - final suffix = prefix == null ? '' : ' as $prefix';
|
| - write('import "$uri"$suffix;');
|
| + unparseImportTag(String uri, {String prefix,
|
| + List<String> shows: const <String>[],
|
| + bool isDeferred: false}) {
|
| + String deferredString = isDeferred ? ' deferred' : '';
|
| + String prefixString = prefix == null ? '' : ' as $prefix';
|
| + String showString = shows.isEmpty ? '' : ' show ${shows.join(", ")}';
|
| + write('import "$uri"$deferredString$prefixString$showString;');
|
| + newline();
|
| + }
|
| +
|
| + unparseExportTag(String uri, {List<String> shows: const []}) {
|
| + String suffix = shows.isEmpty ? '' : ' show ${shows.join(", ")}';
|
| + write('export "$uri"$suffix;');
|
| newline();
|
| }
|
|
|
|
|