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

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

Issue 1500793003: rework ArgListContributor to use new task model (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years 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 | « no previous file | pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.src.provisional.completion.completion_dart; 5 library analysis_server.src.provisional.completion.completion_dart;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/plugin/protocol/protocol.dart'; 9 import 'package:analysis_server/plugin/protocol/protocol.dart';
10 import 'package:analysis_server/src/provisional/completion/completion_core.dart' ; 10 import 'package:analysis_server/src/provisional/completion/completion_core.dart' ;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 /** 68 /**
69 * Return a [Future] that completes with a compilation unit in which 69 * Return a [Future] that completes with a compilation unit in which
70 * all declarations in all scopes containing [target] have been resolved. 70 * all declarations in all scopes containing [target] have been resolved.
71 * The [Future] may return `null` if the unit cannot be resolved 71 * The [Future] may return `null` if the unit cannot be resolved
72 * (e.g. unlinked part file). 72 * (e.g. unlinked part file).
73 * Any information obtained from [target] prior to calling this method 73 * Any information obtained from [target] prior to calling this method
74 * should be discarded as it may have changed. 74 * should be discarded as it may have changed.
75 */ 75 */
76 Future<CompilationUnit> resolveDeclarationsInScope(); 76 Future<CompilationUnit> resolveDeclarationsInScope();
77
78 /**
79 * Return a [Future] that completes when the element associated with
80 * the given [identifier] is available or if the identifier cannot be resolved
81 * (e.g. unknown identifier, completion aborted, etc).
82 * Any information obtained from [target] prior to calling this method
83 * should be discarded as it may have changed.
84 */
85 Future resolveIdentifier(SimpleIdentifier identifier);
77 } 86 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698