| Index: pkg/front_end/lib/src/incremental/file_state.dart
|
| diff --git a/pkg/front_end/lib/src/incremental/file_state.dart b/pkg/front_end/lib/src/incremental/file_state.dart
|
| index ac7e14ad1e310d7bbfb5e5f542f8d82bc971c059..c3362a411b8ad997d2fa0332ff9ba86f38f4a25a 100644
|
| --- a/pkg/front_end/lib/src/incremental/file_state.dart
|
| +++ b/pkg/front_end/lib/src/incremental/file_state.dart
|
| @@ -221,10 +221,12 @@ class FileSystemState {
|
|
|
| _FileSystemView _fileSystemView;
|
|
|
| - /// Mapping from file URIs to corresponding [FileState]s.
|
| + /// Mapping from import URIs to corresponding [FileState]s. For example, this
|
| + /// may contain an entry for `dart:core`.
|
| final Map<Uri, FileState> _uriToFile = {};
|
|
|
| - /// Mapping from file URIs to corresponding [FileState]s.
|
| + /// Mapping from file URIs to corresponding [FileState]s. This map should only
|
| + /// contain `file:*` URIs as keys.
|
| final Map<Uri, FileState> _fileUriToFile = {};
|
|
|
| FileSystemState(this.fileSystem, this.uriTranslator);
|
| @@ -237,6 +239,9 @@ class FileSystemState {
|
| return _fileSystemView ??= new _FileSystemView(this);
|
| }
|
|
|
| + /// The `file:` URI of all files currently tracked by this instance.
|
| + Iterable<Uri> get fileUris => _fileUriToFile.keys;
|
| +
|
| /// Return the [FileState] for the given [absoluteUri], or `null` if the
|
| /// [absoluteUri] cannot be resolved into a file URI.
|
| ///
|
|
|