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

Side by Side Diff: pkg/analyzer/lib/source/package_map_provider.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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) 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 source.package_map_provider; 5 library analyzer.source.package_map_provider;
6 6
7 import 'package:analyzer/file_system/file_system.dart'; 7 import 'package:analyzer/file_system/file_system.dart';
8 8
9 /** 9 /**
10 * Data structure output by PackageMapProvider. This contains both the package 10 * Data structure output by PackageMapProvider. This contains both the package
11 * map and dependency information. 11 * map and dependency information.
12 */ 12 */
13 class PackageMapInfo { 13 class PackageMapInfo {
14 /** 14 /**
15 * The package map itself. This is a map from package name to a list of 15 * The package map itself. This is a map from package name to a list of
(...skipping 19 matching lines...) Expand all
35 */ 35 */
36 abstract class PackageMapProvider { 36 abstract class PackageMapProvider {
37 /** 37 /**
38 * Compute a package map for the given folder, if possible. 38 * Compute a package map for the given folder, if possible.
39 * 39 *
40 * If a package map can't be computed (e.g. because an error occurred), a 40 * If a package map can't be computed (e.g. because an error occurred), a
41 * [PackageMapInfo] will still be returned, but its packageMap will be null. 41 * [PackageMapInfo] will still be returned, but its packageMap will be null.
42 */ 42 */
43 PackageMapInfo computePackageMap(Folder folder); 43 PackageMapInfo computePackageMap(Folder folder);
44 } 44 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/source/embedder.dart ('k') | pkg/analyzer/lib/source/package_map_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698