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; | |
9 import 'dart:profiler' show | 8 import 'dart:profiler' show |
10 UserTag; | 9 UserTag; |
11 | 10 |
12 import '../compiler_new.dart' as api; | 11 import '../compiler_new.dart' as api; |
13 import 'cache_strategy.dart'; | 12 import 'cache_strategy.dart'; |
14 import 'closure.dart' as closureMapping; | 13 import 'closure.dart' as closureMapping; |
15 import 'compile_time_constants.dart'; | 14 import 'compile_time_constants.dart'; |
16 import 'constants/constant_system.dart'; | 15 import 'constants/constant_system.dart'; |
17 import 'constants/expressions.dart'; | |
18 import 'constants/values.dart'; | 16 import 'constants/values.dart'; |
19 import 'core_types.dart'; | 17 import 'core_types.dart'; |
20 import 'cps_ir/cps_ir_builder_task.dart' show IrBuilderTask; | 18 import 'cps_ir/cps_ir_builder_task.dart' show IrBuilderTask; |
21 import 'dart_backend/dart_backend.dart' as dart_backend; | 19 import 'dart_backend/dart_backend.dart' as dart_backend; |
22 import 'dart_types.dart'; | 20 import 'dart_types.dart'; |
23 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit; | 21 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit; |
| 22 import 'diagnostic_listener.dart'; |
24 import 'dump_info.dart'; | 23 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; | |
40 import 'js_backend/js_backend.dart' as js_backend; | 39 import 'js_backend/js_backend.dart' as js_backend; |
41 import 'library_loader.dart' | 40 import 'library_loader.dart' |
42 show LibraryLoader, | 41 show LibraryLoader, |
43 LibraryLoaderTask, | 42 LibraryLoaderTask, |
44 LoadedLibraries; | 43 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'; | |
49 import 'patch_parser.dart'; | 48 import 'patch_parser.dart'; |
50 import 'resolution/class_members.dart' show MembersCreator; | |
51 import 'resolution/resolution.dart'; | 49 import 'resolution/resolution.dart'; |
52 import 'resolution/semantic_visitor.dart'; | |
53 import 'resolution/send_structure.dart'; | |
54 import 'resolution/operators.dart' as op; | |
55 import 'scanner/scannerlib.dart'; | 50 import 'scanner/scannerlib.dart'; |
56 import 'serialization/task.dart'; | 51 import 'serialization/task.dart'; |
| 52 import 'script.dart'; |
57 import 'ssa/ssa.dart'; | 53 import 'ssa/ssa.dart'; |
58 import 'io/source_file.dart' show SourceFile; | |
59 import 'tracer.dart' show Tracer; | 54 import 'tracer.dart' show Tracer; |
60 import 'tree/tree.dart'; | 55 import 'tree/tree.dart'; |
| 56 import 'typechecker.dart'; |
61 import 'types/types.dart' as ti; | 57 import 'types/types.dart' as ti; |
62 import 'universe/universe.dart'; | 58 import 'universe/universe.dart'; |
63 import 'universe/class_set.dart'; | |
64 import 'util/characters.dart' show $_; | 59 import 'util/characters.dart' show $_; |
65 import 'util/uri_extras.dart' as uri_extras show relativize; | 60 import 'util/uri_extras.dart' as uri_extras show relativize; |
66 import 'util/util.dart'; | 61 import 'util/util.dart'; |
67 import 'messages.dart'; | 62 import 'world.dart'; |
68 | 63 |
69 export 'helpers/helpers.dart'; | 64 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'; | |
82 | 65 |
83 part 'compiler.dart'; | 66 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 |