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

Unified Diff: pkg/analysis_server/lib/src/services/index/index_store.dart

Issue 1801883002: Remove old index and search implementations. (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/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
deleted file mode 100644
index f5bebe1b25f2cf33661b14e07ed64a3e73f0f947..0000000000000000000000000000000000000000
--- a/pkg/analysis_server/lib/src/services/index/index_store.dart
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library services.index_store;
-
-import 'package:analysis_server/src/provisional/index/index_core.dart';
-import 'package:analysis_server/src/services/index/index.dart';
-import 'package:analyzer/dart/element/element.dart';
-import 'package:analyzer/src/generated/engine.dart';
-
-/**
- * A container with information computed by an index - relations between
- * elements.
- */
-abstract class InternalIndexStore extends IndexStore {
- /**
- * Answers index statistics.
- */
- String get statistics;
-
- /**
- * Notifies the index store that we are going to index the given [object].
- *
- * [context] - the [AnalysisContext] in which the [object] being indexed.
- * [object] - the object being indexed.
- *
- * Returns `true` if the given [object] may be indexed, or `false` if
- * belongs to a disposed [AnalysisContext], is not resolved completely, etc.
- */
- bool aboutToIndex(AnalysisContext context, Object object);
-
- /**
- * Notifies the index store that there was an error during the current
- * indexing, and all the information recorded after the last
- * [aboutToIndex] invocation must be discarded.
- */
- void cancelIndex();
-
- /**
- * Notifies the index store that the current object indexing is done.
- *
- * If this method is not invoked after corresponding [aboutToIndex]
- * invocation, all recorded information may be lost.
- */
- void doneIndex();
-
- /**
- * Returns top-level [Element]s whose names satisfy to [nameFilter].
- */
- List<Element> getTopLevelDeclarations(ElementNameFilter nameFilter);
-
- /**
- * Records the declaration of the given top-level [element].
- */
- void recordTopLevelDeclaration(Element element);
-}

Powered by Google App Engine
This is Rietveld 408576698