| 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.backend; | 5 library js_backend.backend; |
| 6 | 6 |
| 7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
| 8 | 8 |
| 9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
| 10 | 10 |
| 11 import '../closure.dart'; | 11 import '../closure.dart'; |
| 12 import '../common.dart'; | 12 import '../common.dart'; |
| 13 import '../common/backend_api.dart' | 13 import '../common/backend_api.dart' |
| 14 show | 14 show |
| 15 Backend, | 15 Backend, |
| 16 BackendClasses, | 16 BackendClasses, |
| 17 ImpactTransformer, | 17 ImpactTransformer, |
| 18 ForeignResolver, | 18 ForeignResolver, |
| 19 NativeRegistry; | 19 NativeRegistry; |
| 20 import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem; | 20 import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem; |
| 21 import '../common/names.dart' show Identifiers, Uris; | 21 import '../common/names.dart' show Identifiers, Uris; |
| 22 import '../common/resolution.dart' show Frontend, Resolution, ResolutionImpact; | 22 import '../common/resolution.dart' show Frontend, Resolution, ResolutionImpact; |
| 23 import '../common/tasks.dart' show CompilerTask; | 23 import '../common/tasks.dart' show CompilerTask; |
| 24 import '../compiler.dart' show Compiler; | 24 import '../compiler.dart' show Compiler; |
| 25 import '../constants/constant_system.dart'; | 25 import '../constants/constant_system.dart'; |
| 26 import '../constants/expressions.dart'; | 26 import '../constants/expressions.dart'; |
| 27 import '../constants/values.dart'; | 27 import '../constants/values.dart'; |
| 28 import '../core_types.dart' show CommonElements; | 28 import '../core_types.dart' show CommonElements; |
| 29 import '../dart_types.dart'; | 29 import '../elements/resolution_types.dart'; |
| 30 import '../deferred_load.dart' show DeferredLoadTask; | 30 import '../deferred_load.dart' show DeferredLoadTask; |
| 31 import '../dump_info.dart' show DumpInfoTask; | 31 import '../dump_info.dart' show DumpInfoTask; |
| 32 import '../elements/elements.dart'; | 32 import '../elements/elements.dart'; |
| 33 import '../elements/entities.dart'; | 33 import '../elements/entities.dart'; |
| 34 import '../enqueue.dart' | 34 import '../enqueue.dart' |
| 35 show Enqueuer, ResolutionEnqueuer, TreeShakingEnqueuerStrategy; | 35 show Enqueuer, ResolutionEnqueuer, TreeShakingEnqueuerStrategy; |
| 36 import '../io/position_information.dart' show PositionSourceInformationStrategy; | 36 import '../io/position_information.dart' show PositionSourceInformationStrategy; |
| 37 import '../io/source_information.dart' show SourceInformationStrategy; | 37 import '../io/source_information.dart' show SourceInformationStrategy; |
| 38 import '../io/start_end_information.dart' | 38 import '../io/start_end_information.dart' |
| 39 show StartEndSourceInformationStrategy; | 39 show StartEndSourceInformationStrategy; |
| (...skipping 3228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3268 @override | 3268 @override |
| 3269 bool isInterceptorClass(ClassElement cls) { | 3269 bool isInterceptorClass(ClassElement cls) { |
| 3270 return helpers.backend.isInterceptorClass(cls); | 3270 return helpers.backend.isInterceptorClass(cls); |
| 3271 } | 3271 } |
| 3272 | 3272 |
| 3273 @override | 3273 @override |
| 3274 bool isNative(Element element) { | 3274 bool isNative(Element element) { |
| 3275 return helpers.backend.isNative(element); | 3275 return helpers.backend.isNative(element); |
| 3276 } | 3276 } |
| 3277 } | 3277 } |
| OLD | NEW |