| OLD | NEW |
| 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 1861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1872 </field> | 1872 </field> |
| 1873 </object> | 1873 </object> |
| 1874 </type> | 1874 </type> |
| 1875 <type name="CompletionSuggestionKind"> | 1875 <type name="CompletionSuggestionKind"> |
| 1876 <p> | 1876 <p> |
| 1877 An enumeration of the kinds of elements that can be included | 1877 An enumeration of the kinds of elements that can be included |
| 1878 in a completion suggestion. | 1878 in a completion suggestion. |
| 1879 </p> | 1879 </p> |
| 1880 <enum> | 1880 <enum> |
| 1881 <value><code>ARGUMENT_LIST</code></value> | 1881 <value><code>ARGUMENT_LIST</code></value> |
| 1882 <value><code>CLASS</code></value> | |
| 1883 <value><code>CLASS_ALIAS</code></value> | |
| 1884 <value><code>CONSTRUCTOR</code></value> | |
| 1885 <value><code>FIELD</code></value> | |
| 1886 <value><code>FUNCTION</code></value> | |
| 1887 <value><code>FUNCTION_TYPE_ALIAS</code></value> | |
| 1888 <value><code>GETTER</code></value> | |
| 1889 <value><code>IMPORT</code></value> | 1882 <value><code>IMPORT</code></value> |
| 1890 <value><code>KEYWORD</code></value> | 1883 <value> |
| 1891 <value><code>LABEL</code></value> | 1884 <code>IDENTIFIER</code> |
| 1892 <value><code>LIBRARY_PREFIX</code></value> | 1885 <p> |
| 1893 <value><code>LOCAL_VARIABLE</code></value> | 1886 The element identifier should be inserted at the completion locati
on. |
| 1894 <value><code>METHOD</code></value> | 1887 For example "someMethod" in import 'myLib.dart' show someMethod; . |
| 1895 <value><code>METHOD_NAME</code></value> | 1888 For suggestions of this kind, the element attribute is defined |
| 1889 and the completion field is the element's identifier. |
| 1890 </p> |
| 1891 </value> |
| 1892 <value> |
| 1893 <code>INVOCATION</code> |
| 1894 <p> |
| 1895 The element is being invoked at the completion location. |
| 1896 For example, "someMethod" in x.someMethod(); . |
| 1897 For suggestions of this kind, the element attribute is defined |
| 1898 and the completion field is the element's identifier. |
| 1899 </p> |
| 1900 </value> |
| 1901 <value> |
| 1902 <code>KEYWORD</code> |
| 1903 <p> |
| 1904 A keyword is being suggested. |
| 1905 For suggestions of this kind, the completion is the keyword. |
| 1906 </p> |
| 1907 </value> |
| 1896 <value><code>NAMED_ARGUMENT</code></value> | 1908 <value><code>NAMED_ARGUMENT</code></value> |
| 1897 <value><code>OPTIONAL_ARGUMENT</code></value> | 1909 <value><code>OPTIONAL_ARGUMENT</code></value> |
| 1898 <value><code>PARAMETER</code></value> | 1910 <value><code>PARAMETER</code></value> |
| 1899 <value><code>SETTER</code></value> | |
| 1900 <value><code>TOP_LEVEL_VARIABLE</code></value> | |
| 1901 <value><code>TYPE_PARAMETER</code></value> | |
| 1902 </enum> | 1911 </enum> |
| 1903 </type> | 1912 </type> |
| 1904 <type name="Element"> | 1913 <type name="Element"> |
| 1905 <p> | 1914 <p> |
| 1906 Information about an element (something that can be declared | 1915 Information about an element (something that can be declared |
| 1907 in code). | 1916 in code). |
| 1908 </p> | 1917 </p> |
| 1909 <object> | 1918 <object> |
| 1910 <field name="kind"> | 1919 <field name="kind"> |
| 1911 <ref>ElementKind</ref> | 1920 <ref>ElementKind</ref> |
| (...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3413 <h2>Errors</h2> | 3422 <h2>Errors</h2> |
| 3414 <p> | 3423 <p> |
| 3415 This section contains a list of all of the errors that are | 3424 This section contains a list of all of the errors that are |
| 3416 produced by the server and the data that is returned with each. | 3425 produced by the server and the data that is returned with each. |
| 3417 </p> | 3426 </p> |
| 3418 <p> | 3427 <p> |
| 3419 TBD | 3428 TBD |
| 3420 </p> | 3429 </p> |
| 3421 </body> | 3430 </body> |
| 3422 </html> | 3431 </html> |
| OLD | NEW |