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

Unified Diff: pkg/analyzer/lib/src/context/cache.dart

Issue 1776023002: Add AnalysisContext.onResultInvalidated(descriptor). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/context/cache.dart
diff --git a/pkg/analyzer/lib/src/context/cache.dart b/pkg/analyzer/lib/src/context/cache.dart
index bbb0e698e3acb1add0ae5e9e3952a3eab1b12b99..6a9fa6248c62c64d42005c47d01891ff9946c05e 100644
--- a/pkg/analyzer/lib/src/context/cache.dart
+++ b/pkg/analyzer/lib/src/context/cache.dart
@@ -1093,31 +1093,6 @@ enum DeltaResult {
}
/**
- * [InvalidatedResult] describes an invalidated result.
- */
-class InvalidatedResult {
- /**
- * The target in which the result was invalidated.
- */
- final CacheEntry entry;
-
- /**
- * The descriptor of the result which was invalidated.
- */
- final ResultDescriptor descriptor;
-
- /**
- * The value of the result which was invalidated.
- */
- final Object value;
-
- InvalidatedResult(this.entry, this.descriptor, this.value);
-
- @override
- String toString() => '$descriptor of ${entry.target}';
-}
-
-/**
* A Stream-like interface, which broadcasts events synchronously.
* If a second event is fired while delivering a first event, then the second
* event will be delivered first, and then delivering of the first will be
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/context/context.dart » ('j') | pkg/analyzer/lib/src/generated/engine.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698