Chromium Code Reviews| 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 |
| index a3f1950f5943e8f4cfd9911e3fb180160e17b8f1..4a3ef9135cdfd88704822ce392bcec1bcf787cc4 100644 |
| --- a/pkg/analysis_server/lib/src/services/index/index_store.dart |
| +++ b/pkg/analysis_server/lib/src/services/index/index_store.dart |
| @@ -84,6 +84,11 @@ abstract class IndexStore { |
| Relationship relationship); |
| /** |
| + * Returns top-level [Element]s whose names satisfy to [nameFilter]. |
| + */ |
| + List<Element> getTopDeclarations(ElementNameFilter nameFilter); |
|
Brian Wilkerson
2015/03/02 19:20:07
"Top" --> "TopLevel"? I know it's longer, but I th
scheglov
2015/03/02 19:55:46
Done.
|
| + |
| + /** |
| * Records that the given [element] and [location] have the given |
| * [relationship]. |
| * |
| @@ -110,6 +115,11 @@ abstract class IndexStore { |
| Location location); |
| /** |
| + * Records the declaration of the given top-level [element]. |
| + */ |
| + void recordTopDeclaration(Element element); |
| + |
| + /** |
| * Removes from the index all of the information associated with [context]. |
| * |
| * This method should be invoked when [context] is disposed. |