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 dart2js; | 5 library dart2js; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection' show Queue; |
8 import 'dart:profiler' show | 9 import 'dart:profiler' show |
9 UserTag; | 10 UserTag; |
10 | 11 |
11 import '../compiler_new.dart' as api; | 12 import '../compiler_new.dart' as api; |
12 import 'cache_strategy.dart'; | 13 import 'cache_strategy.dart'; |
13 import 'closure.dart' as closureMapping; | 14 import 'closure.dart' as closureMapping; |
14 import 'compile_time_constants.dart'; | 15 import 'compile_time_constants.dart'; |
15 import 'constants/constant_system.dart'; | 16 import 'constants/constant_system.dart'; |
| 17 import 'constants/expressions.dart'; |
16 import 'constants/values.dart'; | 18 import 'constants/values.dart'; |
17 import 'core_types.dart'; | 19 import 'core_types.dart'; |
18 import 'cps_ir/cps_ir_builder_task.dart' show IrBuilderTask; | 20 import 'cps_ir/cps_ir_builder_task.dart' show IrBuilderTask; |
19 import 'dart_backend/dart_backend.dart' as dart_backend; | 21 import 'dart_backend/dart_backend.dart' as dart_backend; |
20 import 'dart_types.dart'; | 22 import 'dart_types.dart'; |
21 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit; | 23 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit; |
22 import 'diagnostic_listener.dart'; | |
23 import 'dump_info.dart'; | 24 import 'dump_info.dart'; |
24 import 'enqueue.dart'; | |
25 import 'elements/elements.dart'; | 25 import 'elements/elements.dart'; |
26 import 'elements/modelx.dart' | 26 import 'elements/modelx.dart' |
27 show ErroneousElementX, | 27 show ErroneousElementX, |
28 ClassElementX, | 28 ClassElementX, |
29 CompilationUnitElementX, | 29 CompilationUnitElementX, |
30 MethodElementX, | 30 MethodElementX, |
31 LibraryElementX, | 31 LibraryElementX, |
32 PrefixElementX, | 32 PrefixElementX, |
33 VoidElementX, | 33 VoidElementX, |
34 AnalyzableElement, | 34 AnalyzableElement, |
35 DeferredLoaderGetterElementX; | 35 DeferredLoaderGetterElementX; |
36 import 'helpers/helpers.dart'; // Included for debug helpers. | 36 import 'helpers/helpers.dart'; // Included for debug helpers. |
37 import 'io/code_output.dart' show CodeBuffer; | 37 import 'io/code_output.dart' show CodeBuffer; |
38 import 'io/source_information.dart'; | 38 import 'io/source_information.dart'; |
| 39 import 'js/js.dart' as js; |
39 import 'js_backend/js_backend.dart' as js_backend; | 40 import 'js_backend/js_backend.dart' as js_backend; |
40 import 'library_loader.dart' | 41 import 'library_loader.dart' |
41 show LibraryLoader, | 42 show LibraryLoader, |
42 LibraryLoaderTask, | 43 LibraryLoaderTask, |
43 LoadedLibraries; | 44 LoadedLibraries; |
44 import 'messages.dart'; | |
45 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; | 45 import 'mirrors_used.dart' show MirrorUsageAnalyzerTask; |
46 import 'null_compiler_output.dart'; | 46 import 'null_compiler_output.dart'; |
47 import 'native/native.dart' as native; | 47 import 'native/native.dart' as native; |
| 48 import 'ordered_typeset.dart'; |
48 import 'patch_parser.dart'; | 49 import 'patch_parser.dart'; |
| 50 import 'resolution/class_members.dart' show MembersCreator; |
49 import 'resolution/resolution.dart'; | 51 import 'resolution/resolution.dart'; |
| 52 import 'resolution/semantic_visitor.dart'; |
| 53 import 'resolution/send_structure.dart'; |
| 54 import 'resolution/operators.dart' as op; |
50 import 'scanner/scannerlib.dart'; | 55 import 'scanner/scannerlib.dart'; |
51 import 'serialization/task.dart'; | 56 import 'serialization/task.dart'; |
52 import 'script.dart'; | |
53 import 'ssa/ssa.dart'; | 57 import 'ssa/ssa.dart'; |
| 58 import 'io/source_file.dart' show SourceFile; |
54 import 'tracer.dart' show Tracer; | 59 import 'tracer.dart' show Tracer; |
55 import 'tree/tree.dart'; | 60 import 'tree/tree.dart'; |
56 import 'typechecker.dart'; | |
57 import 'types/types.dart' as ti; | 61 import 'types/types.dart' as ti; |
58 import 'universe/universe.dart'; | 62 import 'universe/universe.dart'; |
| 63 import 'universe/class_set.dart'; |
59 import 'util/characters.dart' show $_; | 64 import 'util/characters.dart' show $_; |
60 import 'util/uri_extras.dart' as uri_extras show relativize; | 65 import 'util/uri_extras.dart' as uri_extras show relativize; |
61 import 'util/util.dart'; | 66 import 'util/util.dart'; |
62 import 'world.dart'; | 67 import 'messages.dart'; |
63 | 68 |
64 export 'helpers/helpers.dart'; | 69 export 'helpers/helpers.dart'; |
| 70 export 'resolution/resolution.dart' show TreeElements, TreeElementMapping; |
| 71 export 'scanner/scannerlib.dart' show isUserDefinableOperator, |
| 72 isUnaryOperator, |
| 73 isBinaryOperator, |
| 74 isTernaryOperator, |
| 75 isMinusOperator; |
| 76 export 'universe/universe.dart' show CallStructure, Selector, TypedSelector; |
| 77 export 'util/util.dart' |
| 78 show Spannable, |
| 79 CURRENT_ELEMENT_SPANNABLE, |
| 80 NO_LOCATION_SPANNABLE; |
| 81 export 'messages.dart'; |
65 | 82 |
66 part 'compiler.dart'; | 83 part 'compiler.dart'; |
| 84 part 'diagnostic_listener.dart'; |
| 85 part 'enqueue.dart'; |
| 86 part 'resolved_visitor.dart'; |
| 87 part 'script.dart'; |
| 88 part 'typechecker.dart'; |
| 89 part 'world.dart'; |
OLD | NEW |