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 03464dcbbac93b3d916b46b66522db751f4a9190..658221e3289400f5d60f592d4308025125e555e4 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 |
@@ -61,6 +61,12 @@ abstract class DartCompletionContributor { |
*/ |
abstract class DartCompletionRequest extends CompletionRequest { |
/** |
+ * Return the expression to the right of the "dot" or "dot dot", |
+ * or `null` if this is not a "dot" completion (e.g. `foo.b`). |
+ */ |
+ Expression get dotTarget; |
+ |
+ /** |
* Return a [Future] that completes with the library element |
* which contains the unit in which the completion is occurring. |
* The [Future] may return `null` if the library cannot be determined |