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

Unified Diff: pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart

Issue 2873943003: cleanup dart code completion contributors (Closed)
Patch Set: rebase Created 3 years, 7 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/completion/dart/arglist_contributor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart
diff --git a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart
index c6e5087018431a739694485763630180ee1bde75..71c6214787ed132cfd6ff6e3bd7f61eb65699fd9 100644
--- a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart
+++ b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart
@@ -118,44 +118,4 @@ abstract class DartCompletionRequest extends CompletionRequest {
* will be resolved if they can be resolved.
*/
CompletionTarget get target;
-
- /**
- * Return a [Future] that completes when the element associated with
- * the given [expression] in the target compilation unit is available.
- * It may also complete if the expression cannot be resolved
- * (e.g. unknown identifier, completion aborted, etc).
- * Any information obtained from [target] prior to calling this method
- * should be discarded as it may have changed.
- */
- Future resolveContainingExpression(AstNode node);
-
- /**
- * Return a [Future] that completes when the element associated with
- * the given [statement] in the target compilation unit is available.
- * It may also complete if the statement cannot be resolved
- * (e.g. unknown identifier, completion aborted, etc).
- * Any information obtained from [target] prior to calling this method
- * should be discarded as it may have changed.
- */
- Future resolveContainingStatement(AstNode node);
-
- /**
- * Return a [Future] that completes with a list of [ImportElement]s
- * for the library in which in which the completion is occurring.
- * The [Future] may return `null` if the library unit cannot be determined
- * (e.g. unlinked part file).
- * Any information obtained from [target] prior to calling this method
- * should be discarded as it may have changed.
- */
- Future<List<ImportElement>> resolveImports();
-
- /**
- * Return a [Future] that completes with a list of [CompilationUnitElement]s
- * comprising the library in which in which the completion is occurring.
- * The [Future] may return `null` if the library unit cannot be determined
- * (e.g. unlinked part file).
- * Any information obtained from [target] prior to calling this method
- * should be discarded as it may have changed.
- */
- Future<List<CompilationUnitElement>> resolveUnits();
}
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698