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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.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> 1 <html>
2 <head> 2 <head>
3 <meta charset="UTF-8"/> 3 <meta charset="UTF-8"/>
4 <title>Analysis Server API Specification</title> 4 <title>Analysis Server API Specification</title>
5 </head> 5 </head>
6 <body> 6 <body>
7 <h1>Analysis Server API Specification</h1> 7 <h1>Analysis Server API Specification</h1>
8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 > 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 >
9 <p> 9 <p>
10 This document contains a specification of the API provided by 10 This document contains a specification of the API provided by
(...skipping 1891 matching lines...) Expand 10 before | Expand all | Expand 10 after
1902 </field> 1902 </field>
1903 </object> 1903 </object>
1904 </type> 1904 </type>
1905 <type name="CompletionId"> 1905 <type name="CompletionId">
1906 <ref>String</ref> 1906 <ref>String</ref>
1907 <p> 1907 <p>
1908 An identifier used to associate completion results with a 1908 An identifier used to associate completion results with a
1909 completion request. 1909 completion request.
1910 </p> 1910 </p>
1911 </type> 1911 </type>
1912 <type name="CompletionRelevance">
1913 <p>
1914 An enumeration of the relevance of a completion
1915 suggestion.
1916 </p>
1917 <enum>
1918 <value><code>LOW</code></value>
1919 <value><code>DEFAULT</code></value>
1920 <value><code>HIGH</code></value>
1921 </enum>
1922 </type>
1923 <type name="CompletionSuggestion"> 1912 <type name="CompletionSuggestion">
1924 <p> 1913 <p>
1925 A suggestion for how to complete partially entered text. Many 1914 A suggestion for how to complete partially entered text. Many
1926 of the fields are optional, depending on the kind of element 1915 of the fields are optional, depending on the kind of element
1927 being suggested. 1916 being suggested.
1928 </p> 1917 </p>
1929 <object> 1918 <object>
1930 <field name="kind"> 1919 <field name="kind">
1931 <ref>CompletionSuggestionKind</ref> 1920 <ref>CompletionSuggestionKind</ref>
1932 <p> 1921 <p>
1933 The kind of element being suggested. 1922 The kind of element being suggested.
1934 </p> 1923 </p>
1935 </field> 1924 </field>
1936 <field name="relevance"> 1925 <field name="relevance">
1937 <ref>CompletionRelevance</ref> 1926 <ref>int</ref>
1938 <p> 1927 <p>
1939 The relevance of this completion suggestion. 1928 The relevance of this completion suggestion
1929 where a higher number indicates a higher relevance.
1940 </p> 1930 </p>
1941 </field> 1931 </field>
1942 <field name="completion"> 1932 <field name="completion">
1943 <ref>String</ref> 1933 <ref>String</ref>
1944 <p> 1934 <p>
1945 The identifier to be inserted if the suggestion is 1935 The identifier to be inserted if the suggestion is
1946 selected. If the suggestion is for a method or function, 1936 selected. If the suggestion is for a method or function,
1947 the client might want to additionally insert a template 1937 the client might want to additionally insert a template
1948 for the parameters. The information required in order to 1938 for the parameters. The information required in order to
1949 do so is contained in other fields. 1939 do so is contained in other fields.
(...skipping 1740 matching lines...) Expand 10 before | Expand all | Expand 10 after
3690 <h2>Errors</h2> 3680 <h2>Errors</h2>
3691 <p> 3681 <p>
3692 This section contains a list of all of the errors that are 3682 This section contains a list of all of the errors that are
3693 produced by the server and the data that is returned with each. 3683 produced by the server and the data that is returned with each.
3694 </p> 3684 </p>
3695 <p> 3685 <p>
3696 TBD 3686 TBD
3697 </p> 3687 </p>
3698 </body> 3688 </body>
3699 </html> 3689 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698