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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 845553005: Change code completion relevance from CompletionRelevance.LOW/DEFAULT/HIGH to int (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
OLDNEW
1 <html><head> 1 <html><head>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <title>Analysis Server API Specification</title> 3 <title>Analysis Server API Specification</title>
4 <style>body { 4 <style>body {
5 font-family: sans-serif, serif; 5 font-family: sans-serif, serif;
6 padding-left: 5%; 6 padding-left: 5%;
7 padding-right: 5%; 7 padding-right: 5%;
8 } 8 }
9 h1 { 9 h1 {
10 text-align: center; 10 text-align: center;
(...skipping 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after
1993 1993
1994 1994
1995 1995
1996 1996
1997 1997
1998 1998
1999 1999
2000 2000
2001 2001
2002 2002
2003
2004 <dl><dt class="typeDefinition"><a name="type_AddContentOverlay">AddContentOv erlay: object</a></dt><dd> 2003 <dl><dt class="typeDefinition"><a name="type_AddContentOverlay">AddContentOv erlay: object</a></dt><dd>
2005 <p> 2004 <p>
2006 A directive to begin overlaying the contents of a file. The 2005 A directive to begin overlaying the contents of a file. The
2007 supplied content will be used for analysis in place of the 2006 supplied content will be used for analysis in place of the
2008 file contents in the filesystem. 2007 file contents in the filesystem.
2009 </p> 2008 </p>
2010 <p> 2009 <p>
2011 If this directive is used on a file that already has a file 2010 If this directive is used on a file that already has a file
2012 content overlay, the old overlay is discarded and replaced 2011 content overlay, the old overlay is discarded and replaced
2013 with the new one. 2012 with the new one.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 2165
2167 <p> 2166 <p>
2168 The edits to be applied to the file. 2167 The edits to be applied to the file.
2169 </p> 2168 </p>
2170 </dd></dl></dd><dt class="typeDefinition"><a name="type_CompletionId"> CompletionId: String</a></dt><dd> 2169 </dd></dl></dd><dt class="typeDefinition"><a name="type_CompletionId"> CompletionId: String</a></dt><dd>
2171 2170
2172 <p> 2171 <p>
2173 An identifier used to associate completion results with a 2172 An identifier used to associate completion results with a
2174 completion request. 2173 completion request.
2175 </p> 2174 </p>
2176 </dd><dt class="typeDefinition"><a name="type_CompletionRelevance">Complet ionRelevance: String</a></dt><dd> 2175 </dd><dt class="typeDefinition"><a name="type_CompletionSuggestion">Comple tionSuggestion: object</a></dt><dd>
2177 <p>
2178 An enumeration of the relevance of a completion
2179 suggestion.
2180 </p>
2181
2182 <dl><dt class="value">LOW</dt><dt class="value">DEFAULT</dt><dt class="val ue">HIGH</dt></dl></dd><dt class="typeDefinition"><a name="type_CompletionSugges tion">CompletionSuggestion: object</a></dt><dd>
2183 <p> 2176 <p>
2184 A suggestion for how to complete partially entered text. Many 2177 A suggestion for how to complete partially entered text. Many
2185 of the fields are optional, depending on the kind of element 2178 of the fields are optional, depending on the kind of element
2186 being suggested. 2179 being suggested.
2187 </p> 2180 </p>
2188 2181
2189 <dl><dt class="field"><b><i>kind ( <a href="#type_CompletionSuggestionKind ">CompletionSuggestionKind</a> )</i></b></dt><dd> 2182 <dl><dt class="field"><b><i>kind ( <a href="#type_CompletionSuggestionKind ">CompletionSuggestionKind</a> )</i></b></dt><dd>
2190 2183
2191 <p> 2184 <p>
2192 The kind of element being suggested. 2185 The kind of element being suggested.
2193 </p> 2186 </p>
2194 </dd><dt class="field"><b><i>relevance ( <a href="#type_CompletionRele vance">CompletionRelevance</a> )</i></b></dt><dd> 2187 </dd><dt class="field"><b><i>relevance ( int )</i></b></dt><dd>
2195 2188
2196 <p> 2189 <p>
2197 The relevance of this completion suggestion. 2190 The relevance of this completion suggestion
2191 where a higher number indicates a higher relevance.
2198 </p> 2192 </p>
2199 </dd><dt class="field"><b><i>completion ( String )</i></b></dt><dd> 2193 </dd><dt class="field"><b><i>completion ( String )</i></b></dt><dd>
2200 2194
2201 <p> 2195 <p>
2202 The identifier to be inserted if the suggestion is 2196 The identifier to be inserted if the suggestion is
2203 selected. If the suggestion is for a method or function, 2197 selected. If the suggestion is for a method or function,
2204 the client might want to additionally insert a template 2198 the client might want to additionally insert a template
2205 for the parameters. The information required in order to 2199 for the parameters. The information required in order to
2206 do so is contained in other fields. 2200 do so is contained in other fields.
2207 </p> 2201 </p>
(...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
3595 <p> 3589 <p>
3596 This section contains a list of all of the errors that are 3590 This section contains a list of all of the errors that are
3597 produced by the server and the data that is returned with each. 3591 produced by the server and the data that is returned with each.
3598 </p> 3592 </p>
3599 <p> 3593 <p>
3600 TBD 3594 TBD
3601 </p> 3595 </p>
3602 3596
3603 3597
3604 </body></html> 3598 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698