| Index: pkg/analysis_server/lib/src/services/completion/completion_dart.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/completion_dart.dart b/pkg/analysis_server/lib/src/services/completion/completion_dart.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2dd4eeb51cc99c57cf375a3324e6448f3a9d9883
|
| --- /dev/null
|
| +++ b/pkg/analysis_server/lib/src/services/completion/completion_dart.dart
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library analysis_server.src.services.completion.completion_dart;
|
| +
|
| +import 'package:analysis_server/completion/completion_core.dart';
|
| +import 'package:analysis_server/completion/completion_dart.dart';
|
| +import 'package:analysis_server/src/services/completion/completion_core.dart';
|
| +import 'package:analyzer/src/generated/ast.dart';
|
| +
|
| +/**
|
| + * The information about a requested list of completions within a Dart file.
|
| + */
|
| +class DartCompletionRequestImpl extends CompletionRequestImpl
|
| + implements DartCompletionRequest {
|
| + /**
|
| + * The compilation unit in which the completion was requested.
|
| + */
|
| + final CompilationUnit unit;
|
| +
|
| + /**
|
| + * A flag indicating whether the compilation [unit] is resolved.
|
| + */
|
| + final bool isResolved;
|
| +
|
| + /**
|
| + * Initialize a newly created completion request based on the given arguments.
|
| + */
|
| + DartCompletionRequestImpl(
|
| + CompletionRequest request, this.unit, this.isResolved)
|
| + : super(request.context, request.resourceProvider, request.source,
|
| + request.offset);
|
| +}
|
|
|