Index: pkg/analysis_server/lib/src/provisional/completion/completion_core.dart |
diff --git a/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart b/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart |
index 1aa1c9f182d5179c609b940309ac583e4e18772b..06eb530baa547fc254577fe5b1bde31e82a7b932 100644 |
--- a/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart |
+++ b/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart |
@@ -9,6 +9,7 @@ import 'dart:async'; |
import 'package:analysis_server/plugin/protocol/protocol.dart'; |
import 'package:analysis_server/src/services/search/search_engine.dart'; |
import 'package:analyzer/file_system/file_system.dart'; |
+import 'package:analyzer/src/dart/analysis/driver.dart'; |
import 'package:analyzer/src/generated/engine.dart' show AnalysisContext; |
import 'package:analyzer/src/generated/source.dart'; |
@@ -71,6 +72,12 @@ abstract class CompletionRequest { |
ResourceProvider get resourceProvider; |
/** |
+ * The analysis result for the file in which the completion is being |
+ * requested. |
+ */ |
+ AnalysisResult get result; |
+ |
+ /** |
* Return the search engine. |
*/ |
SearchEngine get searchEngine; |