Index: pkg/analysis_server/lib/src/services/index/index_store.dart |
diff --git a/pkg/analysis_server/lib/src/services/index/index_store.dart b/pkg/analysis_server/lib/src/services/index/index_store.dart |
index 1d61e7a4f0618420ff2ceefe121ddbcda329e7a2..858d0ac1b02fcac4108b32823e5a5c511ed34705 100644 |
--- a/pkg/analysis_server/lib/src/services/index/index_store.dart |
+++ b/pkg/analysis_server/lib/src/services/index/index_store.dart |
@@ -51,7 +51,14 @@ abstract class InternalIndexStore extends IndexStore { |
bool aboutToIndexHtml(AnalysisContext context, HtmlElement htmlElement); |
/** |
- * Notifies that index store that the current Dart or HTML unit indexing is |
+ * Notifies the index store that there was an error during the current Dart |
+ * indexing, and all the information recorded after the last |
+ * [aboutToIndexDart] invocation must be discarded. |
+ */ |
+ void cancelIndexDart(); |
+ |
+ /** |
+ * Notifies the index store that the current Dart or HTML unit indexing is |
* done. |
* |
* If this method is not invoked after corresponding "aboutToIndex*" |