| 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 analyzer.plugin.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 | 12 * specific kind of URI within the analysis context rooted at the given |
| 13 * [folder]. | 13 * [folder]. |
| 14 * | |
| 15 * The given [folder] may be `null` if analysis is performed in an environment | |
| 16 * where URI resolution is always the same in any folder. | |
| 17 */ | 14 */ |
| 18 typedef UriResolver ResolverProvider(Folder folder); | 15 typedef UriResolver ResolverProvider(Folder folder); |
| OLD | NEW |