| 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 979a9fab62275d584f26748601e5d0d078b06bf3..27a491520b1061ba121cca6048db254be0d6ee05 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
|
| @@ -115,7 +115,17 @@ abstract class DartCompletionRequest extends CompletionRequest {
|
| * Any information obtained from [target] prior to calling this method
|
| * should be discarded as it may have changed.
|
| */
|
| - Future resolveExpression(Expression expression);
|
| + Future resolveContainingExpression(Expression expression);
|
| +
|
| + /**
|
| + * 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(Statement expression);
|
|
|
| /**
|
| * Return a [Future] that completes with a list of [ImportElement]s
|
|
|