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 dart2js.library_loader; | 5 library dart2js.library_loader; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
| 9 import 'common.dart'; |
9 import 'common/names.dart' show | 10 import 'common/names.dart' show |
10 Uris; | 11 Uris; |
11 import 'common/tasks.dart' show | 12 import 'common/tasks.dart' show |
12 CompilerTask; | 13 CompilerTask; |
13 import 'compiler.dart' show | 14 import 'compiler.dart' show |
14 Compiler; | 15 Compiler; |
15 import 'diagnostics/diagnostic_listener.dart'; | |
16 import 'diagnostics/invariant.dart' show | |
17 invariant; | |
18 import 'diagnostics/messages.dart' show | |
19 MessageKind; | |
20 import 'diagnostics/spannable.dart' show | |
21 Spannable; | |
22 import 'elements/elements.dart' show | 16 import 'elements/elements.dart' show |
23 CompilationUnitElement, | 17 CompilationUnitElement, |
24 Element, | 18 Element, |
25 ImportElement, | 19 ImportElement, |
26 ExportElement, | 20 ExportElement, |
27 LibraryElement, | 21 LibraryElement, |
28 PrefixElement; | 22 PrefixElement; |
29 import 'elements/modelx.dart' show | 23 import 'elements/modelx.dart' show |
30 CompilationUnitElementX, | 24 CompilationUnitElementX, |
31 DeferredLoaderGetterElementX, | 25 DeferredLoaderGetterElementX, |
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1350 } | 1344 } |
1351 suffixes.add(const Link<Uri>().prepend(canonicalUri)); | 1345 suffixes.add(const Link<Uri>().prepend(canonicalUri)); |
1352 } | 1346 } |
1353 suffixChainMap[library] = suffixes; | 1347 suffixChainMap[library] = suffixes; |
1354 return; | 1348 return; |
1355 } | 1349 } |
1356 | 1350 |
1357 computeSuffixes(rootLibrary, const Link<Uri>()); | 1351 computeSuffixes(rootLibrary, const Link<Uri>()); |
1358 } | 1352 } |
1359 } | 1353 } |
OLD | NEW |