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

Side by Side Diff: pkg/analysis_server/lib/src/provisional/completion/completion_core.dart

Issue 1383313002: Move completion APIs to a private location (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: formatting Created 5 years, 2 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
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_core; 5 library analysis_server.src.provisional.completion.completion_core;
6 6
7 import 'package:analysis_server/src/protocol.dart'; 7 import 'package:analysis_server/src/protocol.dart';
8 import 'package:analyzer/file_system/file_system.dart'; 8 import 'package:analyzer/file_system/file_system.dart';
9 import 'package:analyzer/src/generated/engine.dart'; 9 import 'package:analyzer/src/generated/engine.dart';
10 import 'package:analyzer/src/generated/source.dart'; 10 import 'package:analyzer/src/generated/source.dart';
11 11
12 /** 12 /**
13 * An object used to produce completions for a specific error. Completion 13 * An object used to produce completions for a specific error. Completion
14 * contributors are long-lived objects and must not retain any state between 14 * contributors are long-lived objects and must not retain any state between
15 * invocations of [computeSuggestions]. 15 * invocations of [computeSuggestions].
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 * the replacementOffset will be the offset of the beginning of the 75 * the replacementOffset will be the offset of the beginning of the
76 * identifier. 76 * identifier.
77 */ 77 */
78 int get replacementOffset; 78 int get replacementOffset;
79 79
80 /** 80 /**
81 * Return the list of suggestions being contributed by the contributor. 81 * Return the list of suggestions being contributed by the contributor.
82 */ 82 */
83 List<CompletionSuggestion> get suggestions; 83 List<CompletionSuggestion> get suggestions;
84 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698