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

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

Issue 1500793003: rework ArgListContributor to use new task model (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years 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/provisional/completion/dart/completion_plugin.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 ebd551836620326bf8cfadd2f6d3c7796ffdb6c1..816894d639106146447ccdb805d7928ecb3b8e0d 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
@@ -74,4 +74,13 @@ abstract class DartCompletionRequest extends CompletionRequest {
* should be discarded as it may have changed.
*/
Future<CompilationUnit> resolveDeclarationsInScope();
+
+ /**
+ * Return a [Future] that completes when the element associated with
+ * the given [identifier] is available or if the identifier 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 resolveIdentifier(SimpleIdentifier identifier);
}
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698