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 'dart2jslib.dart' show | 9 import 'common/tasks.dart' show |
10 Compiler, | 10 CompilerTask; |
11 CompilerTask, | 11 import 'compiler.dart' show |
| 12 Compiler; |
| 13 import 'diagnostic_listener.dart'; |
| 14 import 'diagnostics/invariant.dart' show |
12 invariant; | 15 invariant; |
13 import 'diagnostic_listener.dart'; | |
14 import 'elements/elements.dart' show | 16 import 'elements/elements.dart' show |
15 CompilationUnitElement, | 17 CompilationUnitElement, |
16 Element, | 18 Element, |
17 LibraryElement, | 19 LibraryElement, |
18 PrefixElement; | 20 PrefixElement; |
19 import 'elements/modelx.dart' show | 21 import 'elements/modelx.dart' show |
20 CompilationUnitElementX, | 22 CompilationUnitElementX, |
21 DeferredLoaderGetterElementX, | 23 DeferredLoaderGetterElementX, |
22 ErroneousElementX, | 24 ErroneousElementX, |
23 LibraryElementX, | 25 LibraryElementX, |
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 } | 1214 } |
1213 suffixes.add(const Link<Uri>().prepend(canonicalUri)); | 1215 suffixes.add(const Link<Uri>().prepend(canonicalUri)); |
1214 } | 1216 } |
1215 suffixChainMap[library] = suffixes; | 1217 suffixChainMap[library] = suffixes; |
1216 return; | 1218 return; |
1217 } | 1219 } |
1218 | 1220 |
1219 computeSuffixes(rootLibrary, const Link<Uri>()); | 1221 computeSuffixes(rootLibrary, const Link<Uri>()); |
1220 } | 1222 } |
1221 } | 1223 } |
OLD | NEW |