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

Unified Diff: pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart

Issue 2899843002: Convert quick assist support to use AnalysisDriver (Closed)
Patch Set: 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/plugin/edit/assist/assist_dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart
diff --git a/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart b/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart
index 31506b9a9d8f00f774672acea442549947054a74..a286255495488e599402e46ecd4d2e73e14398bd 100644
--- a/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart
+++ b/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart
@@ -4,7 +4,7 @@
import 'dart:async';
-import 'package:analyzer/src/generated/engine.dart';
+import 'package:analyzer/src/dart/analysis/driver.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer_plugin/protocol/protocol_common.dart'
show SourceChange;
@@ -56,9 +56,9 @@ class Assist {
*/
abstract class AssistContext {
/**
- * The [AnalysisContext] to get assists in.
+ * The analysis driver used to access analysis results.
*/
- AnalysisContext get analysisContext;
+ AnalysisDriver get analysisDriver;
/**
* The length of the selection.
« no previous file with comments | « no previous file | pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698