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 dart_backend; | 5 library dart_backend; |
6 | 6 |
7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
8 import 'dart:math' show max; | 8 import 'dart:math' show max; |
9 | 9 |
10 import '../../compiler.dart' show | 10 import '../../compiler.dart' show |
11 CompilerOutputProvider; | 11 CompilerOutputProvider; |
12 import '../common/backend_api.dart' show | 12 import '../common/backend_api.dart' show |
13 Backend; | 13 Backend; |
14 import '../common/codegen.dart' show | 14 import '../common/codegen.dart' show |
15 CodegenWorkItem; | 15 CodegenWorkItem; |
16 import '../common/registry.dart' show | 16 import '../common/registry.dart' show |
17 Registry; | 17 Registry; |
18 import '../common/resolution.dart' show | 18 import '../common/resolution.dart' show |
19 ResolutionCallbacks; | 19 ResolutionCallbacks; |
20 import '../common/tasks.dart' show | 20 import '../common/tasks.dart' show |
21 CompilerTask; | 21 CompilerTask; |
22 import '../compiler.dart' show | 22 import '../compiler.dart' show |
23 Compiler, | 23 Compiler, |
24 isPrivateName; | 24 isPrivateName; |
25 import '../compile_time_constants.dart'; | 25 import '../compile_time_constants.dart'; |
26 import '../constants/constant_system.dart'; | 26 import '../constants/constant_system.dart'; |
27 import '../constants/expressions.dart'; | 27 import '../constants/expressions.dart'; |
28 import '../constants/values.dart'; | 28 import '../constants/values.dart'; |
29 import '../dart_types.dart'; | 29 import '../dart_types.dart'; |
30 import '../diagnostic_listener.dart'; | 30 import '../diagnostics/diagnostic_listener.dart'; |
31 import '../diagnostics/invariant.dart' show | 31 import '../diagnostics/invariant.dart' show |
32 invariant; | 32 invariant; |
| 33 import '../diagnostics/messages.dart' show |
| 34 MessageKind; |
33 import '../diagnostics/spannable.dart' show | 35 import '../diagnostics/spannable.dart' show |
34 NO_LOCATION_SPANNABLE, | 36 NO_LOCATION_SPANNABLE, |
35 Spannable, | 37 Spannable, |
36 SpannableAssertionFailure; | 38 SpannableAssertionFailure; |
37 import '../elements/elements.dart'; | 39 import '../elements/elements.dart'; |
38 import '../enqueue.dart' show | 40 import '../enqueue.dart' show |
39 Enqueuer, | 41 Enqueuer, |
40 ResolutionEnqueuer, | 42 ResolutionEnqueuer, |
41 WorldImpact; | 43 WorldImpact; |
42 import '../library_loader.dart' show | 44 import '../library_loader.dart' show |
43 LoadedLibraries; | 45 LoadedLibraries; |
44 import '../messages.dart' show | |
45 MessageKind; | |
46 import '../mirror_renamer/mirror_renamer.dart'; | 46 import '../mirror_renamer/mirror_renamer.dart'; |
47 import '../resolution/resolution.dart' show | 47 import '../resolution/resolution.dart' show |
48 TreeElements, | 48 TreeElements, |
49 TreeElementMapping; | 49 TreeElementMapping; |
50 import '../scanner/scannerlib.dart' show | 50 import '../scanner/scannerlib.dart' show |
51 StringToken, | 51 StringToken, |
52 Keyword, | 52 Keyword, |
53 OPEN_PAREN_INFO, | 53 OPEN_PAREN_INFO, |
54 CLOSE_PAREN_INFO, | 54 CLOSE_PAREN_INFO, |
55 SEMICOLON_INFO, | 55 SEMICOLON_INFO, |
56 IDENTIFIER_INFO; | 56 IDENTIFIER_INFO; |
57 import '../tree/tree.dart'; | 57 import '../tree/tree.dart'; |
58 import '../universe/universe.dart' show | 58 import '../universe/universe.dart' show |
59 Selector, | 59 Selector, |
60 UniverseSelector; | 60 UniverseSelector; |
61 import '../util/util.dart'; | 61 import '../util/util.dart'; |
62 import 'backend_ast_to_frontend_ast.dart' as backend2frontend; | 62 import 'backend_ast_to_frontend_ast.dart' as backend2frontend; |
63 | 63 |
64 part 'backend.dart'; | 64 part 'backend.dart'; |
65 part 'renamer.dart'; | 65 part 'renamer.dart'; |
66 part 'placeholder_collector.dart'; | 66 part 'placeholder_collector.dart'; |
67 part 'outputter.dart'; | 67 part 'outputter.dart'; |
OLD | NEW |