| Index: pkg/analyzer/lib/src/generated/source.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/source.dart b/pkg/analyzer/lib/src/generated/source.dart
|
| index 79cd48f37bcc63620413f00a8c0a2e4ae3ded7ae..8dd68d86b896495affb2539161cec62e5f983d89 100644
|
| --- a/pkg/analyzer/lib/src/generated/source.dart
|
| +++ b/pkg/analyzer/lib/src/generated/source.dart
|
| @@ -668,6 +668,17 @@ class SourceFactory {
|
| }
|
|
|
| /**
|
| + * Return a source factory that will resolve URI's in the same way that this
|
| + * source factory does.
|
| + */
|
| + SourceFactory clone() {
|
| + SourceFactory factory =
|
| + new SourceFactory(_resolvers, _packages, _resourceProvider);
|
| + factory.localSourcePredicate = _localSourcePredicate;
|
| + return factory;
|
| + }
|
| +
|
| + /**
|
| * Return a source object representing the given absolute URI, or `null` if the URI is not a
|
| * valid URI or if it is not an absolute URI.
|
| *
|
|
|