Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: pkg/compiler/lib/src/library_loader.dart

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart ('k') | pkg/compiler/lib/src/mirrors/dart2js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698