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