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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analysis_server.completion.completion_dart; 5 library analysis_server.completion.completion_dart;
6 6
7 import 'package:analysis_server/completion/completion_core.dart'; 7 import 'package:analysis_server/completion/completion_core.dart';
8 import 'package:analyzer/src/generated/ast.dart'; 8 import 'package:analyzer/src/generated/ast.dart';
9 9
10 /**
11 * An object used to produce completions for a specific error within a Dart
12 * file. Completion contributors are long-lived objects and must not retain any
13 * state between invocations of [computeSuggestions].
14 *
15 * Clients are expected to subtype this class when implementing plugins.
16 */
10 abstract class DartCompletionContributor extends CompletionContributor { 17 abstract class DartCompletionContributor extends CompletionContributor {
11 @override 18 @override
12 CompletionResult computeSuggestions(CompletionRequest request) { 19 CompletionResult computeSuggestions(CompletionRequest request) {
13 // TODO(brianwilkerson) Implement this by getting the information required 20 // TODO(brianwilkerson) Implement this by getting the information required
14 // to create a DartCompletionRequest and calling: 21 // to create a DartCompletionRequest and calling:
15 // return internalComputeSuggestions(dartRequest); 22 // return internalComputeSuggestions(dartRequest);
16 return null; 23 return null;
17 } 24 }
18 25
19 /** 26 /**
(...skipping 28 matching lines...) Expand all
48 * The completion target. This determines what part of the parse tree 55 * The completion target. This determines what part of the parse tree
49 * will receive the newly inserted text. 56 * will receive the newly inserted text.
50 */ 57 */
51 //CompletionTarget get target; 58 //CompletionTarget get target;
52 59
53 /** 60 /**
54 * Information about the types of suggestions that should be included. 61 * Information about the types of suggestions that should be included.
55 */ 62 */
56 //OpType get _optype; 63 //OpType get _optype;
57 } 64 }
OLDNEW
« 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