| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 js_backend; | 5 library js_backend; |
| 6 | 6 |
| 7 import 'dart:async' show EventSink, Future; | 7 import 'dart:async' show EventSink, Future; |
| 8 import 'dart:collection' show HashMap; | 8 import 'dart:collection' show HashMap; |
| 9 | 9 |
| 10 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' | 10 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' |
| 11 as embeddedNames; | 11 as embeddedNames; |
| 12 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' | 12 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' |
| 13 show JsGetName; | 13 show JsGetName; |
| 14 | 14 |
| 15 import '../closure.dart'; | 15 import '../closure.dart'; |
| 16 import '../compile_time_constants.dart'; | 16 import '../compile_time_constants.dart'; |
| 17 import '../constants/constant_system.dart'; | 17 import '../constants/constant_system.dart'; |
| 18 import '../constants/expressions.dart'; | 18 import '../constants/expressions.dart'; |
| 19 import '../constants/values.dart'; | 19 import '../constants/values.dart'; |
| 20 import '../dart2jslib.dart'; | 20 import '../dart2jslib.dart'; |
| 21 import '../dart_types.dart'; | 21 import '../dart_types.dart'; |
| 22 import '../elements/elements.dart'; | 22 import '../elements/elements.dart'; |
| 23 import '../io/code_output.dart'; | 23 import '../io/code_output.dart'; |
| 24 import '../io/source_information.dart' show SourceInformationFactory; | 24 import '../io/source_information.dart' show |
| 25 SourceInformationStrategy, |
| 26 useNewSourceInfo; |
| 27 import '../io/position_information.dart' show |
| 28 PositionSourceInformationStrategy; |
| 29 import '../io/start_end_information.dart' show |
| 30 StartEndSourceInformationStrategy; |
| 25 import '../js/js.dart' as jsAst; | 31 import '../js/js.dart' as jsAst; |
| 26 import '../js/js.dart' show js; | 32 import '../js/js.dart' show js; |
| 33 import '../js/js_source_mapping.dart' show |
| 34 JavaScriptSourceInformationStrategy; |
| 27 import '../js_emitter/js_emitter.dart' | 35 import '../js_emitter/js_emitter.dart' |
| 28 show Emitter, | 36 show Emitter, |
| 29 CodeEmitterTask, | 37 CodeEmitterTask, |
| 30 ClassBuilder, | 38 ClassBuilder, |
| 31 MetadataCollector, | 39 MetadataCollector, |
| 32 Placeholder, | 40 Placeholder, |
| 33 USE_NEW_EMITTER; | 41 USE_NEW_EMITTER; |
| 34 | 42 |
| 35 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 43 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
| 36 import '../native/native.dart' as native; | 44 import '../native/native.dart' as native; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 53 part 'backend.dart'; | 61 part 'backend.dart'; |
| 54 part 'checked_mode_helpers.dart'; | 62 part 'checked_mode_helpers.dart'; |
| 55 part 'constant_emitter.dart'; | 63 part 'constant_emitter.dart'; |
| 56 part 'constant_handler_javascript.dart'; | 64 part 'constant_handler_javascript.dart'; |
| 57 part 'custom_elements_analysis.dart'; | 65 part 'custom_elements_analysis.dart'; |
| 58 part 'minify_namer.dart'; | 66 part 'minify_namer.dart'; |
| 59 part 'namer.dart'; | 67 part 'namer.dart'; |
| 60 part 'no_such_method_registry.dart'; | 68 part 'no_such_method_registry.dart'; |
| 61 part 'runtime_types.dart'; | 69 part 'runtime_types.dart'; |
| 62 part 'type_variable_handler.dart'; | 70 part 'type_variable_handler.dart'; |
| OLD | NEW |