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

Unified Diff: pkg/analysis_server/lib/plugin/index/index_core.dart

Issue 1409203002: Declare IndexableObject.file instead of Source. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Use filePath name. Created 5 years, 2 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/index/index.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
/**
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/index/index.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698