| OLD | NEW |
| 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.src.services.completion.completion_dart; | 5 library analysis_server.src.services.completion.completion_dart; |
| 6 | 6 |
| 7 import 'package:analysis_server/completion/completion_core.dart'; | 7 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
; |
| 8 import 'package:analysis_server/completion/completion_dart.dart'; | 8 import 'package:analysis_server/src/provisional/completion/completion_dart.dart'
; |
| 9 import 'package:analysis_server/completion/dart/completion_target.dart'; | 9 import 'package:analysis_server/src/provisional/completion/dart/completion_targe
t.dart'; |
| 10 import 'package:analysis_server/src/services/completion/completion_core.dart'; | 10 import 'package:analysis_server/src/services/completion/completion_core.dart'; |
| 11 import 'package:analyzer/src/generated/ast.dart'; | 11 import 'package:analyzer/src/generated/ast.dart'; |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * The information about a requested list of completions within a Dart file. | 14 * The information about a requested list of completions within a Dart file. |
| 15 */ | 15 */ |
| 16 class DartCompletionRequestImpl extends CompletionRequestImpl | 16 class DartCompletionRequestImpl extends CompletionRequestImpl |
| 17 implements DartCompletionRequest { | 17 implements DartCompletionRequest { |
| 18 /** | 18 /** |
| 19 * The compilation unit in which the completion was requested. | 19 * The compilation unit in which the completion was requested. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 final CompletionTarget target; | 32 final CompletionTarget target; |
| 33 | 33 |
| 34 /** | 34 /** |
| 35 * Initialize a newly created completion request based on the given arguments. | 35 * Initialize a newly created completion request based on the given arguments. |
| 36 */ | 36 */ |
| 37 DartCompletionRequestImpl( | 37 DartCompletionRequestImpl( |
| 38 CompletionRequest request, this.unit, this.isResolved, this.target) | 38 CompletionRequest request, this.unit, this.isResolved, this.target) |
| 39 : super(request.context, request.resourceProvider, request.source, | 39 : super(request.context, request.resourceProvider, request.source, |
| 40 request.offset); | 40 request.offset); |
| 41 } | 41 } |
| OLD | NEW |