| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js.js_emitter; | 5 library dart2js.js_emitter; |
| 6 | 6 |
| 7 import 'package:js_ast/src/precedence.dart' as js_precedence; | 7 import 'package:js_ast/src/precedence.dart' as js_precedence; |
| 8 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 8 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
| 9 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin; | 9 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin; |
| 10 | 10 |
| 11 | 11 |
| 12 import '../common.dart'; | 12 import '../common.dart'; |
| 13 import '../common/names.dart' show | 13 import '../common/names.dart' show |
| 14 Identifiers; | 14 Identifiers; |
| 15 import '../common/tasks.dart' show | 15 import '../common/tasks.dart' show |
| 16 CompilerTask; | 16 CompilerTask; |
| 17 import '../compiler.dart' show | 17 import '../compiler.dart' show |
| 18 Compiler; | 18 Compiler; |
| 19 import '../constants/values.dart'; | 19 import '../constants/values.dart'; |
| 20 import '../closure.dart' show | 20 import '../closure.dart' show |
| 21 ClosureClassElement, | 21 ClosureClassElement, |
| 22 ClosureClassMap, | 22 ClosureClassMap, |
| 23 ClosureFieldElement, | 23 ClosureFieldElement, |
| 24 CapturedVariable; | 24 CapturedVariable; |
| 25 import '../core_types.dart' show | |
| 26 CoreClasses; | |
| 27 import '../dart_types.dart' show | 25 import '../dart_types.dart' show |
| 28 DartType, | 26 DartType, |
| 29 FunctionType, | 27 FunctionType, |
| 30 InterfaceType, | 28 InterfaceType, |
| 31 TypedefType, | 29 TypedefType, |
| 32 Types, | 30 Types, |
| 33 TypeVariableType; | 31 TypeVariableType; |
| 34 import '../deferred_load.dart' show | 32 import '../deferred_load.dart' show |
| 35 OutputUnit; | 33 OutputUnit; |
| 36 import '../elements/elements.dart' show | 34 import '../elements/elements.dart' show |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 part 'code_emitter_task.dart'; | 88 part 'code_emitter_task.dart'; |
| 91 part 'helpers.dart'; | 89 part 'helpers.dart'; |
| 92 part 'interceptor_stub_generator.dart'; | 90 part 'interceptor_stub_generator.dart'; |
| 93 part 'main_call_stub_generator.dart'; | 91 part 'main_call_stub_generator.dart'; |
| 94 part 'metadata_collector.dart'; | 92 part 'metadata_collector.dart'; |
| 95 part 'native_emitter.dart'; | 93 part 'native_emitter.dart'; |
| 96 part 'native_generator.dart'; | 94 part 'native_generator.dart'; |
| 97 part 'parameter_stub_generator.dart'; | 95 part 'parameter_stub_generator.dart'; |
| 98 part 'runtime_type_generator.dart'; | 96 part 'runtime_type_generator.dart'; |
| 99 part 'type_test_registry.dart'; | 97 part 'type_test_registry.dart'; |
| OLD | NEW |