Index: pkg/analysis_server/lib/src/services/index/index.dart |
diff --git a/pkg/analysis_server/lib/src/services/index/index.dart b/pkg/analysis_server/lib/src/services/index/index.dart |
index 41b5a0ab9310cea8edb968b1f06c50a6b3339cca..04e57ae9770700f8af6c80be04a41abb9a992302 100644 |
--- a/pkg/analysis_server/lib/src/services/index/index.dart |
+++ b/pkg/analysis_server/lib/src/services/index/index.dart |
@@ -6,12 +6,10 @@ library services.index; |
import 'dart:async'; |
-import 'package:analysis_server/analysis/index/index_core.dart'; |
+import 'package:analysis_server/analysis/index_core.dart'; |
import 'package:analysis_server/src/services/index/indexable_element.dart'; |
-import 'package:analyzer/src/generated/ast.dart'; |
import 'package:analyzer/src/generated/element.dart'; |
import 'package:analyzer/src/generated/engine.dart'; |
-import 'package:analyzer/src/generated/html.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
/** |
@@ -45,20 +43,12 @@ abstract class Index implements IndexStore { |
List<Element> getTopLevelDeclarations(ElementNameFilter nameFilter); |
/** |
- * Processes the given [HtmlUnit] in order to record the relationships. |
+ * Processes the given [object] in order to record the relationships. |
* |
- * [context] - the [AnalysisContext] in which [HtmlUnit] was resolved. |
- * [unit] - the [HtmlUnit] being indexed. |
+ * [context] - the [AnalysisContext] in which the [object] being indexed. |
+ * [object] - the object being indexed. |
*/ |
- void indexHtmlUnit(AnalysisContext context, HtmlUnit unit); |
- |
- /** |
- * Processes the given [CompilationUnit] in order to record the relationships. |
- * |
- * [context] - the [AnalysisContext] in which [CompilationUnit] was resolved. |
- * [unit] - the [CompilationUnit] being indexed. |
- */ |
- void indexUnit(AnalysisContext context, CompilationUnit unit); |
+ void index(AnalysisContext context, Object object); |
/** |
* Starts the index. |