| Index: pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/analysis/driver.dart b/pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| index 3b724e291667b48340d8faef6d684a65ef43fcaa..2fa28a6fb26b4d67af2839d4129193bfa095186c 100644
|
| --- a/pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| +++ b/pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| @@ -450,13 +450,7 @@ class AnalysisDriver implements AnalysisDriverGeneric {
|
| return AnalysisDriverPriority.nothing;
|
| }
|
|
|
| - /**
|
| - * Add the file with the given [path] to the set of files to analyze.
|
| - *
|
| - * The [path] must be absolute and normalized.
|
| - *
|
| - * The results of analysis are eventually produced by the [results] stream.
|
| - */
|
| + @override
|
| void addFile(String path) {
|
| if (!_fsState.hasUri(path)) {
|
| return;
|
| @@ -1344,6 +1338,16 @@ abstract class AnalysisDriverGeneric {
|
| AnalysisDriverPriority get workPriority;
|
|
|
| /**
|
| + * Add the file with the given [path] to the set of files that are explicitly
|
| + * being analyzed.
|
| + *
|
| + * The [path] must be absolute and normalized.
|
| + *
|
| + * The results of analysis are eventually produced by the [results] stream.
|
| + */
|
| + void addFile(String path);
|
| +
|
| + /**
|
| * Notify the driver that the client is going to stop using it.
|
| */
|
| void dispose();
|
|
|