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 | 7 import 'common/backend_api.dart' show |
8 Backend; | 8 Backend; |
9 import 'common/tasks.dart' show | 9 import 'common/tasks.dart' show |
10 CompilerTask; | 10 CompilerTask; |
(...skipping 16 matching lines...) Expand all Loading... |
27 Element, | 27 Element, |
28 ElementKind, | 28 ElementKind, |
29 Elements, | 29 Elements, |
30 ExportElement, | 30 ExportElement, |
31 FunctionElement, | 31 FunctionElement, |
32 ImportElement, | 32 ImportElement, |
33 LibraryElement, | 33 LibraryElement, |
34 MetadataAnnotation, | 34 MetadataAnnotation, |
35 PrefixElement, | 35 PrefixElement, |
36 ScopeContainerElement, | 36 ScopeContainerElement, |
37 TypedefElement, | 37 TypedefElement; |
38 VoidElement; | |
39 import 'js_backend/js_backend.dart' show | 38 import 'js_backend/js_backend.dart' show |
40 JavaScriptBackend; | 39 JavaScriptBackend; |
41 import 'resolution/resolution.dart' show | 40 import 'resolution/resolution.dart' show |
42 AnalyzableElementX; | 41 AnalyzableElementX; |
43 import 'resolution/tree_elements.dart' show | 42 import 'resolution/tree_elements.dart' show |
44 TreeElements; | 43 TreeElements; |
45 import 'tree/tree.dart' as ast; | 44 import 'tree/tree.dart' as ast; |
46 import 'tree/tree.dart' show | 45 import 'tree/tree.dart' show |
47 Import, | 46 Import, |
48 LibraryTag, | 47 LibraryTag, |
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 return result; | 936 return result; |
938 } | 937 } |
939 | 938 |
940 bool operator ==(other) { | 939 bool operator ==(other) { |
941 if (other is! _DeclaredDeferredImport) return false; | 940 if (other is! _DeclaredDeferredImport) return false; |
942 return declaration == other.declaration; | 941 return declaration == other.declaration; |
943 } | 942 } |
944 | 943 |
945 int get hashCode => declaration.hashCode * 17; | 944 int get hashCode => declaration.hashCode * 17; |
946 } | 945 } |
OLD | NEW |