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

Unified Diff: pkg/compiler/lib/src/js/js.dart

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « pkg/compiler/lib/src/io/start_end_information.dart ('k') | pkg/compiler/lib/src/js/rewrite_async.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js/js.dart
diff --git a/pkg/compiler/lib/src/js/js.dart b/pkg/compiler/lib/src/js/js.dart
index f6097817e5b7ccac81ada3828d81093a53d0c392..7618b960e2d7483a2c7519a487a8d6925e180185 100644
--- a/pkg/compiler/lib/src/js/js.dart
+++ b/pkg/compiler/lib/src/js/js.dart
@@ -7,15 +7,22 @@ library js;
import 'package:js_ast/js_ast.dart';
export 'package:js_ast/js_ast.dart';
-import '../io/code_output.dart' show CodeOutput, CodeBuffer;
-import '../js_emitter/js_emitter.dart' show USE_LAZY_EMITTER;
-import '../dart2jslib.dart' as leg;
-import '../util/util.dart' show NO_LOCATION_SPANNABLE, Indentation, Tagging;
-import '../dump_info.dart' show DumpInfoTask;
+import '../compiler.dart' show
+ Compiler;
+import '../diagnostics/spannable.dart' show
+ NO_LOCATION_SPANNABLE;
+import '../dump_info.dart' show
+ DumpInfoTask;
+import '../io/code_output.dart' show
+ CodeBuffer,
+ CodeOutput;
+import '../js_emitter/js_emitter.dart' show
+ USE_LAZY_EMITTER;
+
import 'js_source_mapping.dart';
CodeBuffer prettyPrint(Node node,
- leg.Compiler compiler,
+ Compiler compiler,
{DumpInfoTask monitor,
bool allowVariableMinification: true,
Renamer renamerForNames:
@@ -41,7 +48,7 @@ CodeBuffer prettyPrint(Node node,
}
class Dart2JSJavaScriptPrintingContext implements JavaScriptPrintingContext {
- final leg.Compiler compiler;
+ final Compiler compiler;
final DumpInfoTask monitor;
final CodeBuffer outBuffer;
final CodePositionListener codePositionListener;
@@ -122,7 +129,7 @@ class UnparsedNode extends DeferredString
implements AstContainer {
@override
final Node tree;
- final leg.Compiler _compiler;
+ final Compiler _compiler;
final bool _protectForEval;
LiteralString _cachedLiteral;
« no previous file with comments | « pkg/compiler/lib/src/io/start_end_information.dart ('k') | pkg/compiler/lib/src/js/rewrite_async.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698