OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 analysis_server.plugin.analysis.resolver_provider; | 5 library analyzer.plugin.resolver_provider; |
6 | 6 |
7 import 'package:analyzer/file_system/file_system.dart'; | 7 import 'package:analyzer/file_system/file_system.dart'; |
8 import 'package:analyzer/src/generated/source.dart'; | 8 import 'package:analyzer/src/generated/source.dart'; |
9 | 9 |
10 /** | 10 /** |
11 * A function that will return a [UriResolver] that can be used to resolve a | 11 * A function that will return a [UriResolver] that can be used to resolve a |
12 * specific kind of URI within the analysis context rooted at the given folder. | 12 * specific kind of URI within the analysis context rooted at the given folder. |
13 * This is currently being used to provide a package URI resolver that will be | |
14 * used by the server (see [ServerStarter.packageResolverProvider]). | |
15 */ | 13 */ |
16 typedef UriResolver ResolverProvider(Folder folder); | 14 typedef UriResolver ResolverProvider(Folder folder); |
OLD | NEW |