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

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

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: pkg/compiler/lib/src/js_emitter/js_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/js_emitter.dart b/pkg/compiler/lib/src/js_emitter/js_emitter.dart
index 5a801b1cebcd61fe0d7f592daee8d2f67d25f7ba..540aad6198960283bd39b7dd36b1421aee8cb3dc 100644
--- a/pkg/compiler/lib/src/js_emitter/js_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/js_emitter.dart
@@ -4,42 +4,50 @@
library dart2js.js_emitter;
-import '../common.dart';
+import 'package:js_ast/src/precedence.dart' as js_precedence;
+import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
+import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin;
+
+import '../common.dart';
import '../common/names.dart' show
Identifiers;
-
+import '../common/tasks.dart' show
+ CompilerTask;
+import '../compiler.dart' show
+ Compiler;
import '../constants/values.dart';
-
import '../closure.dart' show
ClosureClassElement,
ClosureClassMap,
ClosureFieldElement,
CapturedVariable;
-
import '../dart_types.dart' show
- TypedefType;
-
-import '../diagnostics/diagnostic_listener.dart' show
- DiagnosticReporter;
-
-import '../diagnostics/spannable.dart' show
- NO_LOCATION_SPANNABLE;
-
+ DartType,
+ FunctionType,
+ InterfaceType,
+ TypedefType,
+ Types,
+ TypeVariableType;
+import '../deferred_load.dart' show
+ OutputUnit;
import '../elements/elements.dart' show
+ ClassElement,
ConstructorBodyElement,
+ Element,
+ Elements,
ElementKind,
FieldElement,
- ParameterElement,
- TypeVariableElement,
+ FunctionElement,
+ FunctionSignature,
+ MetadataAnnotation,
MethodElement,
- MemberElement;
-
+ MemberElement,
+ MixinApplicationElement,
+ ParameterElement,
+ TypeVariableElement;
import '../js/js.dart' as jsAst;
import '../js/js.dart' show js;
-
-import 'package:js_ast/src/precedence.dart' as js_precedence;
-
import '../js_backend/js_backend.dart' show
CheckedModeHelper,
CompoundName,
@@ -56,27 +64,22 @@ import '../js_backend/js_backend.dart' show
TypeCheck,
TypeChecks,
TypeVariableHandler;
-
-import 'model.dart';
-import 'program_builder/program_builder.dart';
-
-import 'full_emitter/emitter.dart' as full_js_emitter;
-import 'lazy_emitter/emitter.dart' as lazy_js_emitter;
-import 'startup_emitter/emitter.dart' as startup_js_emitter;
-
+import '../native/native.dart' as native;
+import '../universe/call_structure.dart' show
+ CallStructure;
+import '../universe/selector.dart' show
+ Selector;
import '../universe/universe.dart' show
SelectorConstraints;
-
import '../util/util.dart' show
Setlet;
-import '../deferred_load.dart' show
- OutputUnit;
-
-import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
-import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin;
-import '../native/native.dart' as native;
+import 'full_emitter/emitter.dart' as full_js_emitter;
+import 'lazy_emitter/emitter.dart' as lazy_js_emitter;
+import 'model.dart';
+import 'program_builder/program_builder.dart';
+import 'startup_emitter/emitter.dart' as startup_js_emitter;
part 'class_stub_generator.dart';
part 'code_emitter_task.dart';
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart ('k') | pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698