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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 684183002: Refactor CompletionSuggestionKind (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/test/services/completion/completion_test_util.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index da50b3c1a33e675705acb6cf11f9e9ee5e90fc94..70ee2b2774391cc7a9a3353277ca061e7d60d749 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -1879,26 +1879,35 @@
</p>
<enum>
<value><code>ARGUMENT_LIST</code></value>
- <value><code>CLASS</code></value>
- <value><code>CLASS_ALIAS</code></value>
- <value><code>CONSTRUCTOR</code></value>
- <value><code>FIELD</code></value>
- <value><code>FUNCTION</code></value>
- <value><code>FUNCTION_TYPE_ALIAS</code></value>
- <value><code>GETTER</code></value>
<value><code>IMPORT</code></value>
- <value><code>KEYWORD</code></value>
- <value><code>LABEL</code></value>
- <value><code>LIBRARY_PREFIX</code></value>
- <value><code>LOCAL_VARIABLE</code></value>
- <value><code>METHOD</code></value>
- <value><code>METHOD_NAME</code></value>
+ <value>
+ <code>IDENTIFIER</code>
+ <p>
+ The element identifier should be inserted at the completion location.
+ For example "someMethod" in import 'myLib.dart' show someMethod; .
+ For suggestions of this kind, the element attribute is defined
+ and the completion field is the element's identifier.
+ </p>
+ </value>
+ <value>
+ <code>INVOCATION</code>
+ <p>
+ The element is being invoked at the completion location.
+ For example, "someMethod" in x.someMethod(); .
+ For suggestions of this kind, the element attribute is defined
+ and the completion field is the element's identifier.
+ </p>
+ </value>
+ <value>
+ <code>KEYWORD</code>
+ <p>
+ A keyword is being suggested.
+ For suggestions of this kind, the completion is the keyword.
+ </p>
+ </value>
<value><code>NAMED_ARGUMENT</code></value>
<value><code>OPTIONAL_ARGUMENT</code></value>
<value><code>PARAMETER</code></value>
- <value><code>SETTER</code></value>
- <value><code>TOP_LEVEL_VARIABLE</code></value>
- <value><code>TYPE_PARAMETER</code></value>
</enum>
</type>
<type name="Element">
« no previous file with comments | « pkg/analysis_server/test/services/completion/completion_test_util.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698