| 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/backend_api.dart' show Backend; | 7 import 'common/backend_api.dart' show Backend; |
| 8 import 'common/tasks.dart' show CompilerTask; | 8 import 'common/tasks.dart' show CompilerTask; |
| 9 import 'common.dart'; | 9 import 'common.dart'; |
| 10 import 'compiler.dart' show Compiler; | 10 import 'compiler.dart' show Compiler; |
| 11 import 'constants/expressions.dart' show ConstantExpression; | 11 import 'constants/expressions.dart' show ConstantExpression; |
| 12 import 'constants/values.dart' | 12 import 'constants/values.dart' |
| 13 show | 13 show |
| 14 ConstantValue, | 14 ConstantValue, |
| 15 ConstructedConstantValue, | 15 ConstructedConstantValue, |
| 16 DeferredConstantValue, | 16 DeferredConstantValue, |
| 17 StringConstantValue; | 17 StringConstantValue; |
| 18 import 'dart_types.dart'; | 18 import 'elements/resolution_types.dart'; |
| 19 import 'elements/elements.dart' | 19 import 'elements/elements.dart' |
| 20 show | 20 show |
| 21 AccessorElement, | 21 AccessorElement, |
| 22 AstElement, | 22 AstElement, |
| 23 ClassElement, | 23 ClassElement, |
| 24 Element, | 24 Element, |
| 25 Elements, | 25 Elements, |
| 26 ExportElement, | 26 ExportElement, |
| 27 FunctionElement, | 27 FunctionElement, |
| 28 ImportElement, | 28 ImportElement, |
| (...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 | 1048 |
| 1049 bool operator ==(other) { | 1049 bool operator ==(other) { |
| 1050 if (other is! _DeclaredDeferredImport) return false; | 1050 if (other is! _DeclaredDeferredImport) return false; |
| 1051 return declaration == other.declaration; | 1051 return declaration == other.declaration; |
| 1052 } | 1052 } |
| 1053 | 1053 |
| 1054 int get hashCode => declaration.hashCode * 17; | 1054 int get hashCode => declaration.hashCode * 17; |
| 1055 | 1055 |
| 1056 String toString() => '$declaration'; | 1056 String toString() => '$declaration'; |
| 1057 } | 1057 } |
| OLD | NEW |