Index: pkg/analysis_server/lib/plugin/index/index_core.dart |
diff --git a/pkg/analysis_server/lib/plugin/index/index_core.dart b/pkg/analysis_server/lib/plugin/index/index_core.dart |
index 98fde3eff0d966162dd8c00153fa2570e927e2b1..10fc335c469f5454cd70063ccd55200c57b90d59 100644 |
--- a/pkg/analysis_server/lib/plugin/index/index_core.dart |
+++ b/pkg/analysis_server/lib/plugin/index/index_core.dart |
@@ -34,6 +34,11 @@ typedef int StringToInt(String string); |
*/ |
abstract class IndexableObject { |
/** |
+ * Return the absolute path of the file containing the indexable object. |
+ */ |
+ String get filePath; |
+ |
+ /** |
* Return the kind of this object. |
*/ |
IndexableObjectKind get kind; |
@@ -42,11 +47,6 @@ abstract class IndexableObject { |
* Return the offset of the indexable object within its source. |
*/ |
int get offset; |
- |
- /** |
- * Return the source containing the indexable object. |
- */ |
- Source get source; |
} |
/** |