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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/index/Index.java

Issue 11787017: Initial implementation of MemoryIndexStoreImpl and IndexContributor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/index/Index.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/index/Index.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/index/Index.java
index 8a9c97ff0e0c52bc01ee6e659edc99bc00b878ac..a2a1342c918bd27e68b355ef90bcfaf265f2ef1f 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/index/Index.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/index/Index.java
@@ -15,7 +15,7 @@ package com.google.dart.engine.index;
import com.google.dart.engine.ast.CompilationUnit;
import com.google.dart.engine.element.Element;
-import com.google.dart.engine.element.ElementLocation;
+import com.google.dart.engine.element.ElementProxy;
import com.google.dart.engine.source.Source;
/**
@@ -37,12 +37,12 @@ public interface Index {
* locations that will be passed into the callback will be all of the places where the method is
* invoked.
*
- * @param elementLocation the {@link ElementLocation} that has the relationship with the locations
- * to be returned
+ * @param element the {@link ElementProxy} that has the relationship with the locations to be
+ * returned
* @param relationship the relationship between the given element and the locations to be returned
* @param callback the callback that will be invoked when the locations are found
*/
- void getRelationships(ElementLocation elementLocation, Relationship relationship,
+ void getRelationships(ElementProxy element, Relationship relationship,
RelationshipCallback callback);
/**

Powered by Google App Engine
This is Rietveld 408576698