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

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

Issue 1880323002: dart2js cleanup: remove unused imports and variables (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge master Created 4 years, 8 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';
10 import 'common/names.dart' show Uris; 9 import 'common/names.dart' show Uris;
11 import 'common/tasks.dart' show CompilerTask; 10 import 'common/tasks.dart' show CompilerTask;
11 import 'common.dart';
12 import 'compiler.dart' show Compiler; 12 import 'compiler.dart' show Compiler;
13 import 'elements/elements.dart' 13 import 'elements/elements.dart'
14 show 14 show
15 CompilationUnitElement, 15 CompilationUnitElement,
16 Element, 16 Element,
17 ImportElement, 17 ImportElement,
18 ExportElement, 18 ExportElement,
19 LibraryElement, 19 LibraryElement;
20 PrefixElement;
21 import 'elements/modelx.dart' 20 import 'elements/modelx.dart'
22 show 21 show
23 CompilationUnitElementX, 22 CompilationUnitElementX,
24 DeferredLoaderGetterElementX, 23 DeferredLoaderGetterElementX,
25 ErroneousElementX, 24 ErroneousElementX,
26 ExportElementX, 25 ExportElementX,
27 ImportElementX, 26 ImportElementX,
28 LibraryElementX, 27 LibraryElementX,
29 LibraryDependencyElementX, 28 LibraryDependencyElementX,
30 PrefixElementX, 29 PrefixElementX,
(...skipping 1444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 /// Called after a request to load a library. The [results] will include all 1474 /// Called after a request to load a library. The [results] will include all
1476 /// transitive libraries loaded as a result of the initial request. 1475 /// transitive libraries loaded as a result of the initial request.
1477 Future onLibrariesLoaded(LoadedLibraries results); 1476 Future onLibrariesLoaded(LoadedLibraries results);
1478 1477
1479 /// Called whenever a library element is created. 1478 /// Called whenever a library element is created.
1480 void onLibraryCreated(LibraryElement library); 1479 void onLibraryCreated(LibraryElement library);
1481 1480
1482 /// Called whenever a library is scanned from a script file. 1481 /// Called whenever a library is scanned from a script file.
1483 Future onLibraryScanned(LibraryElement library, LibraryLoader loader); 1482 Future onLibraryScanned(LibraryElement library, LibraryLoader loader);
1484 } 1483 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698