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 | 8 |
9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' | 9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' |
10 as embeddedNames; | 10 as embeddedNames; |
11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' | 11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' |
12 show JsGetName; | 12 show JsGetName; |
13 | 13 |
14 import '../closure.dart'; | 14 import '../closure.dart'; |
15 import '../compile_time_constants.dart'; | 15 import '../compile_time_constants.dart'; |
16 import '../constants/constant_system.dart'; | 16 import '../constants/constant_system.dart'; |
17 import '../constants/expressions.dart'; | 17 import '../constants/expressions.dart'; |
18 import '../constants/values.dart'; | 18 import '../constants/values.dart'; |
19 import '../dart2jslib.dart'; | 19 import '../dart2jslib.dart'; |
20 import '../dart_types.dart'; | 20 import '../dart_types.dart'; |
21 import '../elements/elements.dart'; | 21 import '../elements/elements.dart'; |
22 import '../io/code_output.dart'; | 22 import '../io/code_output.dart'; |
| 23 import '../io/source_information.dart' show SourceInformationFactory; |
23 import '../js/js.dart' as jsAst; | 24 import '../js/js.dart' as jsAst; |
24 import '../js/js.dart' show js; | 25 import '../js/js.dart' show js; |
25 import '../js_emitter/js_emitter.dart' | 26 import '../js_emitter/js_emitter.dart' |
26 show Emitter, | 27 show Emitter, |
27 CodeEmitterTask, | 28 CodeEmitterTask, |
28 ClassBuilder, | 29 ClassBuilder, |
29 MetadataCollector, | 30 MetadataCollector, |
30 USE_NEW_EMITTER; | 31 USE_NEW_EMITTER; |
31 | 32 |
32 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 33 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
(...skipping 17 matching lines...) Expand all Loading... |
50 part 'backend.dart'; | 51 part 'backend.dart'; |
51 part 'checked_mode_helpers.dart'; | 52 part 'checked_mode_helpers.dart'; |
52 part 'constant_emitter.dart'; | 53 part 'constant_emitter.dart'; |
53 part 'constant_handler_javascript.dart'; | 54 part 'constant_handler_javascript.dart'; |
54 part 'custom_elements_analysis.dart'; | 55 part 'custom_elements_analysis.dart'; |
55 part 'minify_namer.dart'; | 56 part 'minify_namer.dart'; |
56 part 'namer.dart'; | 57 part 'namer.dart'; |
57 part 'no_such_method_registry.dart'; | 58 part 'no_such_method_registry.dart'; |
58 part 'runtime_types.dart'; | 59 part 'runtime_types.dart'; |
59 part 'type_variable_handler.dart'; | 60 part 'type_variable_handler.dart'; |
OLD | NEW |