| 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 '../common.dart'; | 7 import '../common.dart'; |
| 8 | 8 |
| 9 import '../constants/values.dart'; | 9 import '../constants/values.dart'; |
| 10 | 10 |
| 11 import '../closure.dart' show | 11 import '../closure.dart' show |
| 12 ClosureClassElement, | 12 ClosureClassElement, |
| 13 ClosureClassMap, | 13 ClosureClassMap, |
| 14 ClosureFieldElement, | 14 ClosureFieldElement, |
| 15 CapturedVariable; | 15 CapturedVariable; |
| 16 | 16 |
| 17 import '../dart_types.dart' show | 17 import '../dart_types.dart' show |
| 18 TypedefType; | 18 TypedefType; |
| 19 | 19 |
| 20 import '../diagnostics/spannable.dart' show |
| 21 NO_LOCATION_SPANNABLE; |
| 22 |
| 20 import '../elements/elements.dart' show | 23 import '../elements/elements.dart' show |
| 21 ConstructorBodyElement, | 24 ConstructorBodyElement, |
| 22 ElementKind, | 25 ElementKind, |
| 23 FieldElement, | 26 FieldElement, |
| 24 ParameterElement, | 27 ParameterElement, |
| 25 TypeVariableElement, | 28 TypeVariableElement, |
| 26 MethodElement, | 29 MethodElement, |
| 27 MemberElement; | 30 MemberElement; |
| 28 | 31 |
| 29 import '../js/js.dart' as jsAst; | 32 import '../js/js.dart' as jsAst; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 52 | 55 |
| 53 import 'full_emitter/emitter.dart' as full_js_emitter; | 56 import 'full_emitter/emitter.dart' as full_js_emitter; |
| 54 import 'lazy_emitter/emitter.dart' as lazy_js_emitter; | 57 import 'lazy_emitter/emitter.dart' as lazy_js_emitter; |
| 55 import 'startup_emitter/emitter.dart' as startup_js_emitter; | 58 import 'startup_emitter/emitter.dart' as startup_js_emitter; |
| 56 | 59 |
| 57 import '../universe/universe.dart' show | 60 import '../universe/universe.dart' show |
| 58 TypeMaskSet, | 61 TypeMaskSet, |
| 59 TypedSelector; | 62 TypedSelector; |
| 60 | 63 |
| 61 import '../util/util.dart' show | 64 import '../util/util.dart' show |
| 62 NO_LOCATION_SPANNABLE, | |
| 63 Setlet; | 65 Setlet; |
| 64 | 66 |
| 65 import '../deferred_load.dart' show | 67 import '../deferred_load.dart' show |
| 66 OutputUnit; | 68 OutputUnit; |
| 67 | 69 |
| 68 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 70 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
| 69 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin; | 71 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin; |
| 70 | 72 |
| 71 import '../native/native.dart' as native; | 73 import '../native/native.dart' as native; |
| 72 | 74 |
| 73 part 'class_stub_generator.dart'; | 75 part 'class_stub_generator.dart'; |
| 74 part 'code_emitter_task.dart'; | 76 part 'code_emitter_task.dart'; |
| 75 part 'helpers.dart'; | 77 part 'helpers.dart'; |
| 76 part 'interceptor_stub_generator.dart'; | 78 part 'interceptor_stub_generator.dart'; |
| 77 part 'main_call_stub_generator.dart'; | 79 part 'main_call_stub_generator.dart'; |
| 78 part 'metadata_collector.dart'; | 80 part 'metadata_collector.dart'; |
| 79 part 'native_emitter.dart'; | 81 part 'native_emitter.dart'; |
| 80 part 'native_generator.dart'; | 82 part 'native_generator.dart'; |
| 81 part 'parameter_stub_generator.dart'; | 83 part 'parameter_stub_generator.dart'; |
| 82 part 'runtime_type_generator.dart'; | 84 part 'runtime_type_generator.dart'; |
| 83 part 'type_test_registry.dart'; | 85 part 'type_test_registry.dart'; |
| OLD | NEW |