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

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

Issue 1084793006: Add file missed in previous CL and comment clean-up (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
Index: pkg/analysis_server/lib/completion/completion_dart.dart
diff --git a/pkg/analysis_server/lib/completion/completion_dart.dart b/pkg/analysis_server/lib/completion/completion_dart.dart
index f9ae12689997471143792e3bf7c9aae592a611e3..daeba77a3e3fac4225478b7eea77ee62aa11667e 100644
--- a/pkg/analysis_server/lib/completion/completion_dart.dart
+++ b/pkg/analysis_server/lib/completion/completion_dart.dart
@@ -7,6 +7,13 @@ library analysis_server.completion.completion_dart;
import 'package:analysis_server/completion/completion_core.dart';
import 'package:analyzer/src/generated/ast.dart';
+/**
+ * An object used to produce completions for a specific error within a Dart
+ * file. Completion contributors are long-lived objects and must not retain any
+ * state between invocations of [computeSuggestions].
+ *
+ * Clients are expected to subtype this class when implementing plugins.
+ */
abstract class DartCompletionContributor extends CompletionContributor {
@override
CompletionResult computeSuggestions(CompletionRequest request) {
« no previous file with comments | « pkg/analysis_server/lib/completion/completion_core.dart ('k') | pkg/analysis_server/lib/edit/assist/assist_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698