Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: pkg/analyzer/lib/src/dart/analysis/driver.dart

Issue 2886343002: Register files with new drivers (issue 29641) (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « no previous file | pkg/analyzer_plugin/lib/plugin/plugin.dart » ('j') | pkg/analyzer_plugin/lib/plugin/plugin.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698