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

Side by Side Diff: pkg/analysis_server/lib/src/services/completion/completion_dart.dart

Issue 1242223002: Concrete implementation of completion request (from new API) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/completion_core.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library analysis_server.src.services.completion.completion_dart;
6
7 import 'package:analysis_server/completion/completion_core.dart';
8 import 'package:analysis_server/completion/completion_dart.dart';
9 import 'package:analysis_server/src/services/completion/completion_core.dart';
10 import 'package:analyzer/src/generated/ast.dart';
11
12 /**
13 * The information about a requested list of completions within a Dart file.
14 */
15 class DartCompletionRequestImpl extends CompletionRequestImpl
16 implements DartCompletionRequest {
17 /**
18 * The compilation unit in which the completion was requested.
19 */
20 final CompilationUnit unit;
21
22 /**
23 * A flag indicating whether the compilation [unit] is resolved.
24 */
25 final bool isResolved;
26
27 /**
28 * Initialize a newly created completion request based on the given arguments.
29 */
30 DartCompletionRequestImpl(
31 CompletionRequest request, this.unit, this.isResolved)
32 : super(request.context, request.resourceProvider, request.source,
33 request.offset);
34 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/completion_core.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698