| 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) {
|
|
|