Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="UTF-8"/> | 4 <meta charset="UTF-8"/> |
| 5 <title>Analysis Server API Specification</title> | 5 <title>Analysis Server API Specification</title> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <h1>Analysis Server API Specification</h1> | 8 <h1>Analysis Server API Specification</h1> |
| 9 <h1 style="color:#999999">Version | 9 <h1 style="color:#999999">Version |
| 10 <version>1.18.1</version> | 10 <version>1.18.1</version> |
| (...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1765 <field name="fixes"> | 1765 <field name="fixes"> |
| 1766 <list> | 1766 <list> |
| 1767 <ref>AnalysisErrorFixes</ref> | 1767 <ref>AnalysisErrorFixes</ref> |
| 1768 </list> | 1768 </list> |
| 1769 <p> | 1769 <p> |
| 1770 The fixes that are available for the errors at the given offset. | 1770 The fixes that are available for the errors at the given offset. |
| 1771 </p> | 1771 </p> |
| 1772 </field> | 1772 </field> |
| 1773 </result> | 1773 </result> |
| 1774 </request> | 1774 </request> |
| 1775 <request method="getPostfixCompletion" experimental="true"> | |
| 1776 <p> | |
| 1777 Get the changes required to convert the postfix template at the given | |
| 1778 location into the template's expanded form. | |
| 1779 </p> | |
| 1780 <params> | |
| 1781 <field name="file"> | |
| 1782 <ref>FilePath</ref> | |
| 1783 <p> | |
| 1784 The file containing the postfix template to be expanded. | |
| 1785 </p> | |
| 1786 </field> | |
| 1787 <field name="key"> | |
| 1788 <ref>String</ref> | |
| 1789 <p> | |
| 1790 The unique name that identifies the template in use. | |
| 1791 </p> | |
| 1792 </field> | |
| 1793 <field name="offset"> | |
| 1794 <ref>int</ref> | |
| 1795 <p> | |
| 1796 The offset used to identify the code to which the template will be app lied. | |
| 1797 </p> | |
| 1798 </field> | |
| 1799 </params> | |
| 1800 <result> | |
| 1801 <field name="change"> | |
| 1802 <ref>SourceChange</ref> | |
| 1803 <p> | |
| 1804 The change to be applied in order to complete the statement. | |
| 1805 </p> | |
| 1806 </field> | |
| 1807 </result> | |
| 1808 </request> | |
| 1775 <request method="getRefactoring"> | 1809 <request method="getRefactoring"> |
| 1776 <p> | 1810 <p> |
| 1777 Get the changes required to perform a refactoring. | 1811 Get the changes required to perform a refactoring. |
| 1778 </p> | 1812 </p> |
| 1779 <p> | 1813 <p> |
| 1780 If another refactoring request is received during the processing | 1814 If another refactoring request is received during the processing |
| 1781 of this one, an error of type <tt>REFACTORING_REQUEST_CANCELLED</tt> | 1815 of this one, an error of type <tt>REFACTORING_REQUEST_CANCELLED</tt> |
| 1782 will be generated. | 1816 will be generated. |
| 1783 </p> | 1817 </p> |
| 1784 <params> | 1818 <params> |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1932 </field> | 1966 </field> |
| 1933 <field name="whitespaceOnly"> | 1967 <field name="whitespaceOnly"> |
| 1934 <ref>bool</ref> | 1968 <ref>bool</ref> |
| 1935 <p> | 1969 <p> |
| 1936 Will be true if the change contains nothing but whitespace | 1970 Will be true if the change contains nothing but whitespace |
| 1937 characters, or is empty. | 1971 characters, or is empty. |
| 1938 </p> | 1972 </p> |
| 1939 </field> | 1973 </field> |
| 1940 </result> | 1974 </result> |
| 1941 </request> | 1975 </request> |
| 1976 <request method="isPostfixCompletionApplicable" experimental="true"> | |
| 1977 <p> | |
| 1978 Determine if the request postfix completion template is applicable at | |
| 1979 the given location in the given file. | |
| 1980 </p> | |
| 1981 <params> | |
| 1982 <field name="file"> | |
| 1983 <ref>FilePath</ref> | |
| 1984 <p> | |
| 1985 The file containing the postfix template to be expanded. | |
| 1986 </p> | |
| 1987 </field> | |
| 1988 <field name="key"> | |
| 1989 <ref>String</ref> | |
| 1990 <p> | |
| 1991 The unique name that identifies the template in use. | |
| 1992 </p> | |
| 1993 </field> | |
| 1994 <field name="offset"> | |
| 1995 <ref>int</ref> | |
| 1996 <p> | |
| 1997 The offset used to identify the code to which the template will be app lied. | |
| 1998 </p> | |
| 1999 </field> | |
| 2000 </params> | |
| 2001 <result> | |
| 2002 <field name="value"> | |
| 2003 <ref>bool</ref> | |
| 2004 <p> | |
| 2005 True if the template can be expanded at the given location. | |
| 2006 </p> | |
| 2007 </field> | |
| 2008 </result> | |
| 2009 </request> | |
| 2010 <request method="listPostfixCompletionTemplates" experimental="true"> | |
| 2011 <p> | |
| 2012 Return a list of all postfix templates currently available. | |
| 2013 </p> | |
| 2014 <result> | |
| 2015 <field name="templates"> | |
| 2016 <list> | |
| 2017 <ref>PostfixTemplateDescriptor</ref> | |
| 2018 </list> | |
| 2019 <p> | |
| 2020 The list of available template. | |
|
Brian Wilkerson
2017/06/26 15:26:14
"template" --> "templates"
messick
2017/06/26 16:52:34
Done.
| |
| 2021 </p> | |
| 2022 </field> | |
| 2023 </result> | |
| 2024 </request> | |
| 1942 <request method="sortMembers"> | 2025 <request method="sortMembers"> |
| 1943 <p> | 2026 <p> |
| 1944 Sort all of the directives, unit and class members | 2027 Sort all of the directives, unit and class members |
| 1945 of the given Dart file. | 2028 of the given Dart file. |
| 1946 </p> | 2029 </p> |
| 1947 <p> | 2030 <p> |
| 1948 If a request is made for a file that does not exist, does not belong | 2031 If a request is made for a file that does not exist, does not belong |
| 1949 to an analysis root or is not a Dart file, | 2032 to an analysis root or is not a Dart file, |
| 1950 <tt>SORT_MEMBERS_INVALID_FILE</tt> will be generated. | 2033 <tt>SORT_MEMBERS_INVALID_FILE</tt> will be generated. |
| 1951 </p> | 2034 </p> |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2770 </p> | 2853 </p> |
| 2771 </field> | 2854 </field> |
| 2772 <field name="className"> | 2855 <field name="className"> |
| 2773 <ref>String</ref> | 2856 <ref>String</ref> |
| 2774 <p> | 2857 <p> |
| 2775 The name of the class in which the member is defined. | 2858 The name of the class in which the member is defined. |
| 2776 </p> | 2859 </p> |
| 2777 </field> | 2860 </field> |
| 2778 </object> | 2861 </object> |
| 2779 </type> | 2862 </type> |
| 2863 <type name="PostfixTemplateDescriptor"> | |
| 2864 <p> | |
| 2865 The description of a postfix completion template. | |
| 2866 </p> | |
| 2867 <object> | |
| 2868 <field name="name"> | |
| 2869 <ref>String</ref> | |
| 2870 <p> | |
| 2871 The template name, shown in the UI. | |
| 2872 </p> | |
| 2873 </field> | |
| 2874 <field name="key"> | |
| 2875 <ref>String</ref> | |
| 2876 <p> | |
| 2877 The unique template key, not shown in the UI. | |
| 2878 </p> | |
| 2879 </field> | |
| 2880 <field name="example"> | |
| 2881 <ref>String</ref> | |
| 2882 <p> | |
| 2883 A short example of the transformation performed when the template is a pplied. | |
| 2884 </p> | |
| 2885 </field> | |
| 2886 </object> | |
| 2887 </type> | |
| 2780 <type name="PubStatus"> | 2888 <type name="PubStatus"> |
| 2781 <p> | 2889 <p> |
| 2782 An indication of the current state of pub execution. | 2890 An indication of the current state of pub execution. |
| 2783 </p> | 2891 </p> |
| 2784 <object> | 2892 <object> |
| 2785 <field name="isListingPackageDirs"> | 2893 <field name="isListingPackageDirs"> |
| 2786 <ref>bool</ref> | 2894 <ref>bool</ref> |
| 2787 <p> | 2895 <p> |
| 2788 True if the server is currently running pub to produce a list of | 2896 True if the server is currently running pub to produce a list of |
| 2789 package directories. | 2897 package directories. |
| (...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3603 This section contains a list of all of the errors that are | 3711 This section contains a list of all of the errors that are |
| 3604 produced by the server and the data that is returned with each. | 3712 produced by the server and the data that is returned with each. |
| 3605 </p> | 3713 </p> |
| 3606 <p> | 3714 <p> |
| 3607 TODO: TBD | 3715 TODO: TBD |
| 3608 </p> | 3716 </p> |
| 3609 <h2 class="domain"><a name="index">Index</a></h2> | 3717 <h2 class="domain"><a name="index">Index</a></h2> |
| 3610 <index></index> | 3718 <index></index> |
| 3611 </body> | 3719 </body> |
| 3612 </html> | 3720 </html> |
| OLD | NEW |