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

Unified Diff: pkg/analysis_server/lib/src/services/search/search_engine.dart

Issue 2962023002: Add SearchEngine.membersOfSubtypes(). (Closed)
Patch Set: Created 3 years, 6 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/search/search_engine_internal.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/search/search_engine.dart
diff --git a/pkg/analysis_server/lib/src/services/search/search_engine.dart b/pkg/analysis_server/lib/src/services/search/search_engine.dart
index c2235a17b66036c8fce971ca9bac37511d03332f..df6e31c4d72ccd419b843d58bde9a862a36cb3bb 100644
--- a/pkg/analysis_server/lib/src/services/search/search_engine.dart
+++ b/pkg/analysis_server/lib/src/services/search/search_engine.dart
@@ -56,6 +56,13 @@ class MatchKind {
*/
abstract class SearchEngine {
/**
+ * If the [type] has subtypes, return the set of names of members which these
+ * subtypes declare, possibly empty. If the [type] does not have subtypes,
+ * return `null`.
+ */
+ Future<Set<String>> membersOfSubtypes(ClassElement type);
+
+ /**
* Returns all subtypes of the given [type].
*
* [type] - the [ClassElement] being subtyped by the found matches.
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/search/search_engine_internal.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698