OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 @deprecated |
5 library analyzer.plugin.embedded_resolver_provider; | 6 library analyzer.plugin.embedded_resolver_provider; |
6 | 7 |
7 import 'package:analyzer/file_system/file_system.dart'; | 8 import 'package:analyzer/file_system/file_system.dart'; |
8 import 'package:analyzer/source/embedder.dart'; | 9 import 'package:analyzer/source/embedder.dart'; |
9 | 10 |
10 /** | 11 /** |
11 * A function that will return a [UriResolver] that can be used to resolve | 12 * A function that will return a [UriResolver] that can be used to resolve |
12 * URI's for embedded libraries within a given folder, or `null` if we should | 13 * URI's for embedded libraries within a given folder, or `null` if we should |
13 * fall back to the standard URI resolver. | 14 * fall back to the standard URI resolver. |
14 */ | 15 */ |
| 16 @deprecated |
15 typedef EmbedderUriResolver EmbeddedResolverProvider(Folder folder); | 17 typedef EmbedderUriResolver EmbeddedResolverProvider(Folder folder); |
OLD | NEW |