| 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 world_builder; | 5 library world_builder; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import '../common.dart'; | 9 import '../common.dart'; |
| 10 import '../common/names.dart' show Identifiers; | 10 import '../common/names.dart' show Identifiers; |
| 11 import '../common/resolution.dart' show Resolution; | 11 import '../common/resolution.dart' show Resolution; |
| 12 import '../common_elements.dart'; | 12 import '../common_elements.dart'; |
| 13 import '../constants/constant_system.dart'; | 13 import '../constants/constant_system.dart'; |
| 14 import '../constants/values.dart'; | 14 import '../constants/values.dart'; |
| 15 import '../elements/elements.dart'; | 15 import '../elements/elements.dart'; |
| 16 import '../elements/entities.dart'; | 16 import '../elements/entities.dart'; |
| 17 import '../elements/resolution_types.dart'; | 17 import '../elements/resolution_types.dart'; |
| 18 import '../elements/types.dart'; | 18 import '../elements/types.dart'; |
| 19 import '../js_backend/backend.dart' show JavaScriptBackend; | 19 import '../js_backend/backend.dart' show JavaScriptBackend; |
| 20 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; | 20 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; |
| 21 import '../js_backend/constant_handler_javascript.dart' | |
| 22 show JavaScriptConstantCompiler; | |
| 23 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; | 21 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; |
| 24 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; | 22 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; |
| 25 import '../kernel/element_map_impl.dart'; | 23 import '../kernel/element_map_impl.dart'; |
| 26 import '../universe/class_set.dart'; | 24 import '../universe/class_set.dart'; |
| 27 import '../universe/function_set.dart' show FunctionSetBuilder; | 25 import '../universe/function_set.dart' show FunctionSetBuilder; |
| 28 import '../util/enumset.dart'; | 26 import '../util/enumset.dart'; |
| 29 import '../util/util.dart'; | 27 import '../util/util.dart'; |
| 30 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; | 28 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; |
| 31 import 'selector.dart' show Selector; | 29 import 'selector.dart' show Selector; |
| 32 import 'use.dart' | 30 import 'use.dart' |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 177 |
| 180 /// All directly instantiated types, that is, the types of the directly | 178 /// All directly instantiated types, that is, the types of the directly |
| 181 /// instantiated classes. | 179 /// instantiated classes. |
| 182 // TODO(johnniwinther): Improve semantic precision. | 180 // TODO(johnniwinther): Improve semantic precision. |
| 183 Iterable<InterfaceType> get instantiatedTypes; | 181 Iterable<InterfaceType> get instantiatedTypes; |
| 184 | 182 |
| 185 /// Registers that [type] is checked in this world builder. The unaliased type | 183 /// Registers that [type] is checked in this world builder. The unaliased type |
| 186 /// is returned. | 184 /// is returned. |
| 187 void registerIsCheck(DartType type); | 185 void registerIsCheck(DartType type); |
| 188 } | 186 } |
| OLD | NEW |