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 6d41c4fb044afd87ebad885f5740ee7c495735ed..b3dad6062fcc1a0de41a06aa58a4e6ae325dbfd3 100644 |
--- a/pkg/analyzer/lib/src/generated/engine.dart |
+++ b/pkg/analyzer/lib/src/generated/engine.dart |
@@ -1144,6 +1144,14 @@ abstract class AnalysisOptions { |
bool get strongMode; |
/** |
+ * Return `true` if dependencies between computed results should be tracked |
+ * by analysis cache. This option should only be set to `false` if analysis |
+ * is performed in batch mode, so that none of the input is ever changed |
Brian Wilkerson
2016/06/08 17:48:03
"batch mode" has a special meaning for dartanalyze
|
+ * during the life time of the context. |
+ */ |
+ bool get trackCacheDependencies; |
+ |
+ /** |
* Return an integer encoding of the values of the options that need to be the |
* same across all of the contexts associated with partitions that are to be |
* shared by a single analysis context. |
@@ -1283,6 +1291,9 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
// TODO(leafp): replace this with something more general |
bool strongModeHints = false; |
+ @override |
+ bool trackCacheDependencies = true; |
+ |
/** |
* Initialize a newly created set of analysis options to have their default |
* values. |
@@ -1315,6 +1326,7 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
if (options is AnalysisOptionsImpl) { |
strongModeHints = options.strongModeHints; |
} |
+ trackCacheDependencies = options.trackCacheDependencies; |
} |
bool get analyzeFunctionBodies { |