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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 import '../js_emitter/js_emitter.dart' show | 65 import '../js_emitter/js_emitter.dart' show |
66 ClassBuilder, | 66 ClassBuilder, |
67 CodeEmitterTask, | 67 CodeEmitterTask, |
68 Emitter, | 68 Emitter, |
69 MetadataCollector, | 69 MetadataCollector, |
70 Placeholder, | 70 Placeholder, |
71 TokenFinalizer, | 71 TokenFinalizer, |
72 USE_LAZY_EMITTER; | 72 USE_LAZY_EMITTER; |
73 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 73 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
74 import '../native/native.dart' as native; | 74 import '../native/native.dart' as native; |
| 75 import '../patch_parser.dart' show |
| 76 checkJsInteropAnnotation; |
75 import '../resolution/registry.dart' show | 77 import '../resolution/registry.dart' show |
76 ResolutionRegistry; | 78 ResolutionRegistry; |
77 import '../resolution/tree_elements.dart' show | 79 import '../resolution/tree_elements.dart' show |
78 TreeElements; | 80 TreeElements; |
79 import '../ssa/ssa.dart'; | 81 import '../ssa/ssa.dart'; |
80 import '../tree/tree.dart'; | 82 import '../tree/tree.dart'; |
81 import '../types/types.dart'; | 83 import '../types/types.dart'; |
82 import '../universe/universe.dart'; | 84 import '../universe/universe.dart'; |
83 import '../util/characters.dart'; | 85 import '../util/characters.dart'; |
84 import '../util/util.dart'; | 86 import '../util/util.dart'; |
(...skipping 10 matching lines...) Expand all Loading... |
95 part 'constant_handler_javascript.dart'; | 97 part 'constant_handler_javascript.dart'; |
96 part 'custom_elements_analysis.dart'; | 98 part 'custom_elements_analysis.dart'; |
97 part 'frequency_namer.dart'; | 99 part 'frequency_namer.dart'; |
98 part 'field_naming_mixin.dart'; | 100 part 'field_naming_mixin.dart'; |
99 part 'minify_namer.dart'; | 101 part 'minify_namer.dart'; |
100 part 'namer.dart'; | 102 part 'namer.dart'; |
101 part 'namer_names.dart'; | 103 part 'namer_names.dart'; |
102 part 'no_such_method_registry.dart'; | 104 part 'no_such_method_registry.dart'; |
103 part 'runtime_types.dart'; | 105 part 'runtime_types.dart'; |
104 part 'type_variable_handler.dart'; | 106 part 'type_variable_handler.dart'; |
OLD | NEW |