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

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

Issue 2091883002: Add '--finer-grained-invalidation' option to Analysis Server. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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/test/src/context/context_test.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 4e677928657cb3e4f227e36f17f5adf0be735fbb..69df7ab5d5f139b08e6867dbe6e452a0a22d13e8 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -787,12 +787,6 @@ class AnalysisEngine {
final PartitionManager partitionManager = new PartitionManager();
/**
- * A flag indicating whether the task model should attempt to limit
- * invalidation after a change.
- */
- bool limitInvalidationInTaskModel = false;
-
- /**
* The task manager used to manage the tasks used to analyze code.
*/
TaskManager _taskManager;
@@ -1159,6 +1153,14 @@ abstract class AnalysisOptions {
bool get trackCacheDependencies;
/**
+ * A flag indicating whether finer grained dependencies should be used
+ * instead of just source level dependencies.
+ *
+ * This option is experimental and subject to change.
+ */
+ bool get finerGrainedInvalidation;
+
+ /**
* 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.
@@ -1309,6 +1311,9 @@ class AnalysisOptionsImpl implements AnalysisOptions {
*/
bool implicitCasts = true;
+ @override
+ bool finerGrainedInvalidation = false;
+
/**
* Initialize a newly created set of analysis options to have their default
* values.
@@ -1343,6 +1348,7 @@ class AnalysisOptionsImpl implements AnalysisOptions {
implicitCasts = options.implicitCasts;
}
trackCacheDependencies = options.trackCacheDependencies;
+ finerGrainedInvalidation = options.finerGrainedInvalidation;
}
bool get analyzeFunctionBodies {
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698