| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 deferred_load; | 5 library deferred_load; |
| 6 | 6 |
| 7 import 'common.dart'; |
| 7 import 'common/backend_api.dart' show | 8 import 'common/backend_api.dart' show |
| 8 Backend; | 9 Backend; |
| 9 import 'common/resolution.dart' show | |
| 10 Resolution; | |
| 11 import 'common/tasks.dart' show | 10 import 'common/tasks.dart' show |
| 12 CompilerTask; | 11 CompilerTask; |
| 13 import 'compiler.dart' show | 12 import 'compiler.dart' show |
| 14 Compiler; | 13 Compiler; |
| 15 import 'constants/values.dart' show | 14 import 'constants/values.dart' show |
| 16 ConstantValue, | 15 ConstantValue, |
| 17 ConstructedConstantValue, | 16 ConstructedConstantValue, |
| 18 DeferredConstantValue, | 17 DeferredConstantValue, |
| 19 StringConstantValue; | 18 StringConstantValue; |
| 20 import 'dart_types.dart'; | 19 import 'dart_types.dart'; |
| 21 import 'diagnostics/messages.dart' show | |
| 22 MessageKind; | |
| 23 import 'diagnostics/spannable.dart' show | |
| 24 Spannable; | |
| 25 import 'elements/elements.dart' show | 20 import 'elements/elements.dart' show |
| 26 AccessorElement, | 21 AccessorElement, |
| 27 AstElement, | 22 AstElement, |
| 28 ClassElement, | 23 ClassElement, |
| 29 Element, | 24 Element, |
| 30 ElementKind, | 25 ElementKind, |
| 31 Elements, | 26 Elements, |
| 32 ExportElement, | 27 ExportElement, |
| 33 FunctionElement, | 28 FunctionElement, |
| 34 ImportElement, | 29 ImportElement, |
| (...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 return result; | 935 return result; |
| 941 } | 936 } |
| 942 | 937 |
| 943 bool operator ==(other) { | 938 bool operator ==(other) { |
| 944 if (other is! _DeclaredDeferredImport) return false; | 939 if (other is! _DeclaredDeferredImport) return false; |
| 945 return declaration == other.declaration; | 940 return declaration == other.declaration; |
| 946 } | 941 } |
| 947 | 942 |
| 948 int get hashCode => declaration.hashCode * 17; | 943 int get hashCode => declaration.hashCode * 17; |
| 949 } | 944 } |
| OLD | NEW |