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 Queue, LinkedHashMap, LinkedHashSet; | 8 import 'dart:collection' show Queue, LinkedHashMap, LinkedHashSet; |
9 | 9 |
10 import '../closure.dart'; | 10 import '../closure.dart'; |
11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
12 import '../js_emitter/js_emitter.dart' | 12 import '../js_emitter/js_emitter.dart' |
13 show Emitter, CodeEmitterTask, ClassBuilder, MetadataEmitter; | 13 show Emitter, CodeEmitterTask, ClassBuilder, MetadataEmitter; |
14 | 14 |
15 import '../../js_lib/shared/embedded_names.dart' as embeddedNames; | 15 import '../../js_lib/shared/embedded_names.dart' as embeddedNames; |
16 | 16 |
17 import '../dart2jslib.dart'; | 17 import '../dart2jslib.dart'; |
18 import '../dart_types.dart'; | 18 import '../dart_types.dart'; |
19 import '../js/js.dart' as jsAst; | 19 import '../js/js.dart' as jsAst; |
20 import '../js/js.dart' show js; | 20 import '../js/js.dart' show js; |
21 import '../library_loader.dart' show LibraryLoader; | 21 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
22 import '../native_handler.dart' as native; | 22 import '../native_handler.dart' as native; |
23 import '../ssa/ssa.dart'; | 23 import '../ssa/ssa.dart'; |
24 import '../tree/tree.dart'; | 24 import '../tree/tree.dart'; |
25 import '../types/types.dart'; | 25 import '../types/types.dart'; |
26 import '../universe/universe.dart'; | 26 import '../universe/universe.dart'; |
27 import '../util/characters.dart'; | 27 import '../util/characters.dart'; |
28 import '../util/util.dart'; | 28 import '../util/util.dart'; |
29 | 29 |
30 part 'backend.dart'; | 30 part 'backend.dart'; |
31 part 'checked_mode_helpers.dart'; | 31 part 'checked_mode_helpers.dart'; |
32 part 'constant_emitter.dart'; | 32 part 'constant_emitter.dart'; |
33 part 'constant_system_javascript.dart'; | 33 part 'constant_system_javascript.dart'; |
34 part 'constant_handler_javascript.dart'; | 34 part 'constant_handler_javascript.dart'; |
35 part 'minify_namer.dart'; | 35 part 'minify_namer.dart'; |
36 part 'namer.dart'; | 36 part 'namer.dart'; |
37 part 'native_emitter.dart'; | 37 part 'native_emitter.dart'; |
38 part 'runtime_types.dart'; | 38 part 'runtime_types.dart'; |
39 part 'type_variable_handler.dart'; | 39 part 'type_variable_handler.dart'; |
40 part 'custom_elements_analysis.dart'; | 40 part 'custom_elements_analysis.dart'; |
OLD | NEW |