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 SourceInformationFactory; |
25 import '../js/js.dart' as jsAst; | 25 import '../js/js.dart' as jsAst; |
26 import '../js/js.dart' show js; | 26 import '../js/js.dart' show js; |
27 import '../js_emitter/js_emitter.dart' | 27 import '../js_emitter/js_emitter.dart' |
28 show Emitter, | 28 show ClassBuilder, CodeEmitterTask, Emitter, MetadataCollector, Placeholder, |
29 CodeEmitterTask, | 29 TokenFinalizer, USE_NEW_EMITTER; |
30 ClassBuilder, | |
31 MetadataCollector, | |
32 Placeholder, | |
33 USE_NEW_EMITTER; | |
34 | 30 |
35 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 31 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
36 import '../native/native.dart' as native; | 32 import '../native/native.dart' as native; |
37 import '../ssa/ssa.dart'; | 33 import '../ssa/ssa.dart'; |
38 import '../tree/tree.dart'; | 34 import '../tree/tree.dart'; |
39 import '../types/types.dart'; | 35 import '../types/types.dart'; |
40 import '../universe/universe.dart'; | 36 import '../universe/universe.dart'; |
41 import '../util/characters.dart'; | 37 import '../util/characters.dart'; |
42 import '../util/util.dart'; | 38 import '../util/util.dart'; |
43 | 39 |
44 import '../elements/visitor.dart' show | 40 import '../elements/visitor.dart' show |
45 BaseElementVisitor; | 41 BaseElementVisitor; |
46 | 42 |
47 import '../js_backend/codegen/task.dart'; | 43 import '../js_backend/codegen/task.dart'; |
48 import '../resolution/resolution.dart' show ResolutionRegistry; | 44 import '../resolution/resolution.dart' show ResolutionRegistry; |
49 | 45 |
50 import 'constant_system_javascript.dart'; | 46 import 'constant_system_javascript.dart'; |
51 import 'patch_resolver.dart'; | 47 import 'patch_resolver.dart'; |
52 | 48 |
53 part 'backend.dart'; | 49 part 'backend.dart'; |
54 part 'checked_mode_helpers.dart'; | 50 part 'checked_mode_helpers.dart'; |
55 part 'constant_emitter.dart'; | 51 part 'constant_emitter.dart'; |
56 part 'constant_handler_javascript.dart'; | 52 part 'constant_handler_javascript.dart'; |
57 part 'custom_elements_analysis.dart'; | 53 part 'custom_elements_analysis.dart'; |
| 54 part 'frequency_namer.dart'; |
58 part 'field_naming_mixin.dart'; | 55 part 'field_naming_mixin.dart'; |
59 part 'minify_namer.dart'; | 56 part 'minify_namer.dart'; |
60 part 'namer.dart'; | 57 part 'namer.dart'; |
| 58 part 'namer_names.dart'; |
61 part 'no_such_method_registry.dart'; | 59 part 'no_such_method_registry.dart'; |
62 part 'runtime_types.dart'; | 60 part 'runtime_types.dart'; |
63 part 'type_variable_handler.dart'; | 61 part 'type_variable_handler.dart'; |
OLD | NEW |