| 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.dart'; |
| 8 import 'common/backend_api.dart' show | 8 import 'common/backend_api.dart' show |
| 9 Backend; | 9 Backend; |
| 10 import 'common/tasks.dart' show | 10 import 'common/tasks.dart' show |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 ElementKind, | 25 ElementKind, |
| 26 Elements, | 26 Elements, |
| 27 ExportElement, | 27 ExportElement, |
| 28 FunctionElement, | 28 FunctionElement, |
| 29 ImportElement, | 29 ImportElement, |
| 30 LibraryElement, | 30 LibraryElement, |
| 31 MetadataAnnotation, | 31 MetadataAnnotation, |
| 32 PrefixElement, | 32 PrefixElement, |
| 33 ScopeContainerElement, | 33 ScopeContainerElement, |
| 34 TypedefElement; | 34 TypedefElement; |
| 35 import 'enqueue.dart' show | |
| 36 WorldImpact; | |
| 37 import 'js_backend/js_backend.dart' show | 35 import 'js_backend/js_backend.dart' show |
| 38 JavaScriptBackend; | 36 JavaScriptBackend; |
| 39 import 'resolution/resolution.dart' show | 37 import 'resolution/resolution.dart' show |
| 40 AnalyzableElementX; | 38 AnalyzableElementX; |
| 41 import 'resolution/tree_elements.dart' show | 39 import 'resolution/tree_elements.dart' show |
| 42 TreeElements; | 40 TreeElements; |
| 43 import 'tree/tree.dart' as ast; | 41 import 'tree/tree.dart' as ast; |
| 44 import 'tree/tree.dart' show | 42 import 'tree/tree.dart' show |
| 45 Import, | 43 Import, |
| 46 LibraryTag, | 44 LibraryTag, |
| 47 LibraryDependency, | 45 LibraryDependency, |
| 48 LiteralDartString, | 46 LiteralDartString, |
| 49 LiteralString, | 47 LiteralString, |
| 50 NewExpression, | 48 NewExpression, |
| 51 Node; | 49 Node; |
| 50 import 'universe/world_impact.dart' show |
| 51 WorldImpact; |
| 52 import 'util/setlet.dart' show | 52 import 'util/setlet.dart' show |
| 53 Setlet; | 53 Setlet; |
| 54 import 'util/uri_extras.dart' as uri_extras; | 54 import 'util/uri_extras.dart' as uri_extras; |
| 55 import 'util/util.dart' show | 55 import 'util/util.dart' show |
| 56 Link, makeUnique; | 56 Link, makeUnique; |
| 57 | 57 |
| 58 /// A "hunk" of the program that will be loaded whenever one of its [imports] | 58 /// A "hunk" of the program that will be loaded whenever one of its [imports] |
| 59 /// are loaded. | 59 /// are loaded. |
| 60 /// | 60 /// |
| 61 /// Elements that are only used in one deferred import, is in an OutputUnit with | 61 /// Elements that are only used in one deferred import, is in an OutputUnit with |
| (...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 return result; | 980 return result; |
| 981 } | 981 } |
| 982 | 982 |
| 983 bool operator ==(other) { | 983 bool operator ==(other) { |
| 984 if (other is! _DeclaredDeferredImport) return false; | 984 if (other is! _DeclaredDeferredImport) return false; |
| 985 return declaration == other.declaration; | 985 return declaration == other.declaration; |
| 986 } | 986 } |
| 987 | 987 |
| 988 int get hashCode => declaration.hashCode * 17; | 988 int get hashCode => declaration.hashCode * 17; |
| 989 } | 989 } |
| OLD | NEW |