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

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2297343002: Flush results when contexts are made idle. (Closed)
Patch Set: Un-fail completion tests. Created 4 years, 4 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
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index aa9a74b2b384675b65a6385dbb8c23366ac4eecf..7e0f08a4c12ae571d55c9efc39227cfa49b4b843 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -2084,6 +2084,16 @@ abstract class InternalAnalysisContext implements AnalysisContext {
List<AnalysisTarget> get explicitTargets;
/**
+ * Return `true` if the context is active, i.e. is being analyzed now.
+ */
+ bool get isActive;
+
+ /**
+ * Specify whether the context is active, i.e. is being analyzed now.
+ */
+ set isActive(bool value);
+
+ /**
* Return the [StreamController] reporting [InvalidatedResult]s for everything
* in this context's cache.
*/
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698