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:js_runtime/shared/embedded_names.dart' as embeddedNames; | 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 JavaScriptSourceInformationStrategy; | 67 JavaScriptSourceInformationStrategy; |
68 import '../js/rewrite_async.dart'; | 68 import '../js/rewrite_async.dart'; |
69 import '../js_emitter/js_emitter.dart' show | 69 import '../js_emitter/js_emitter.dart' show |
70 CodeEmitterTask, | 70 CodeEmitterTask, |
71 Emitter, | 71 Emitter, |
72 MetadataCollector, | 72 MetadataCollector, |
73 Placeholder, | 73 Placeholder, |
74 USE_LAZY_EMITTER; | 74 USE_LAZY_EMITTER; |
75 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 75 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
76 import '../native/native.dart' as native; | 76 import '../native/native.dart' as native; |
| 77 import '../patch_parser.dart' show |
| 78 checkJsInteropAnnotation; |
77 import '../resolution/registry.dart' show | 79 import '../resolution/registry.dart' show |
78 ResolutionRegistry; | 80 ResolutionRegistry; |
79 import '../resolution/tree_elements.dart' show | 81 import '../resolution/tree_elements.dart' show |
80 TreeElements; | 82 TreeElements; |
81 import '../ssa/ssa.dart'; | 83 import '../ssa/ssa.dart'; |
82 import '../tree/tree.dart'; | 84 import '../tree/tree.dart'; |
83 import '../types/types.dart'; | 85 import '../types/types.dart'; |
84 import '../universe/call_structure.dart' show | 86 import '../universe/call_structure.dart' show |
85 CallStructure; | 87 CallStructure; |
86 import '../universe/selector.dart' show | 88 import '../universe/selector.dart' show |
87 Selector, | 89 Selector, |
88 SelectorKind; | 90 SelectorKind; |
89 import '../universe/universe.dart'; | 91 import '../universe/universe.dart'; |
90 import '../util/characters.dart'; | 92 import '../util/characters.dart'; |
91 import '../util/util.dart'; | 93 import '../util/util.dart'; |
92 import '../world.dart' show | 94 import '../world.dart' show |
93 ClassWorld; | 95 ClassWorld; |
94 | 96 |
95 import 'codegen/task.dart'; | 97 import 'codegen/task.dart'; |
96 import 'constant_system_javascript.dart'; | 98 import 'constant_system_javascript.dart'; |
97 import 'patch_resolver.dart'; | 99 import 'patch_resolver.dart'; |
| 100 import 'js_interop_analysis.dart' show JsInteropAnalysis; |
98 import 'lookup_map_analysis.dart' show LookupMapAnalysis; | 101 import 'lookup_map_analysis.dart' show LookupMapAnalysis; |
99 | 102 |
100 part 'backend.dart'; | 103 part 'backend.dart'; |
101 part 'checked_mode_helpers.dart'; | 104 part 'checked_mode_helpers.dart'; |
102 part 'constant_emitter.dart'; | 105 part 'constant_emitter.dart'; |
103 part 'constant_handler_javascript.dart'; | 106 part 'constant_handler_javascript.dart'; |
104 part 'custom_elements_analysis.dart'; | 107 part 'custom_elements_analysis.dart'; |
105 part 'frequency_namer.dart'; | 108 part 'frequency_namer.dart'; |
106 part 'field_naming_mixin.dart'; | 109 part 'field_naming_mixin.dart'; |
107 part 'minify_namer.dart'; | 110 part 'minify_namer.dart'; |
108 part 'namer.dart'; | 111 part 'namer.dart'; |
109 part 'namer_names.dart'; | 112 part 'namer_names.dart'; |
110 part 'no_such_method_registry.dart'; | 113 part 'no_such_method_registry.dart'; |
111 part 'runtime_types.dart'; | 114 part 'runtime_types.dart'; |
112 part 'type_variable_handler.dart'; | 115 part 'type_variable_handler.dart'; |
OLD | NEW |