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; |
21 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; | 23 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; |
22 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; | 24 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; |
23 import '../kernel/element_map_impl.dart'; | 25 import '../kernel/element_map_impl.dart'; |
24 import '../universe/class_set.dart'; | 26 import '../universe/class_set.dart'; |
25 import '../universe/function_set.dart' show FunctionSetBuilder; | 27 import '../universe/function_set.dart' show FunctionSetBuilder; |
26 import '../util/enumset.dart'; | 28 import '../util/enumset.dart'; |
27 import '../util/util.dart'; | 29 import '../util/util.dart'; |
28 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; | 30 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; |
29 import 'selector.dart' show Selector; | 31 import 'selector.dart' show Selector; |
30 import 'use.dart' | 32 import 'use.dart' |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 179 |
178 /// All directly instantiated types, that is, the types of the directly | 180 /// All directly instantiated types, that is, the types of the directly |
179 /// instantiated classes. | 181 /// instantiated classes. |
180 // TODO(johnniwinther): Improve semantic precision. | 182 // TODO(johnniwinther): Improve semantic precision. |
181 Iterable<InterfaceType> get instantiatedTypes; | 183 Iterable<InterfaceType> get instantiatedTypes; |
182 | 184 |
183 /// Registers that [type] is checked in this world builder. The unaliased type | 185 /// Registers that [type] is checked in this world builder. The unaliased type |
184 /// is returned. | 186 /// is returned. |
185 void registerIsCheck(DartType type); | 187 void registerIsCheck(DartType type); |
186 } | 188 } |
OLD | NEW |