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 <version>1.18.1</version></h1> | 9 <h1 style="color:#999999">Version <version>1.18.1</version></h1> |
10 <p> | 10 <p> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 <dl> | 168 <dl> |
169 <dt class="deprecated">--no-error-notification</dt> | 169 <dt class="deprecated">--no-error-notification</dt> |
170 <dd> | 170 <dd> |
171 <p><b>Deprecated:</b> clients should no longer pass this option in</p> | 171 <p><b>Deprecated:</b> clients should no longer pass this option in</p> |
172 Disable notifications about errors (see analysis.error). If this | 172 Disable notifications about errors (see analysis.error). If this |
173 flag is not specified then notifications will be sent for all | 173 flag is not specified then notifications will be sent for all |
174 errors produced for all files in the actual analysis roots. | 174 errors produced for all files in the actual analysis roots. |
175 </dd> | 175 </dd> |
176 </dl> | 176 </dl> |
177 <dl> | 177 <dl> |
178 <dt>--no-index</dt> | 178 <dt class="deprecated">--no-index</dt> |
179 <dd> | 179 <dd> |
180 Disable the server from generating an index. If this flag is passed and an | 180 <p><b>Deprecated:</b> clients should no longer pass this option in</p> |
181 API is used that requires an index, then an error, <tt>NO_INDEX_GENERATED<
/tt>, | 181 This flag used to disable the server from generating an index, but now |
182 will be thrown. The set of API calls that require an index include: | 182 it has no effect. |
183 refactoring calls, code completions and searching. | |
184 <!-- TODO(jwren/scheglov): make sure that this list of APIs that is comple
te. --> | |
185 </dd> | 183 </dd> |
186 </dl> | 184 </dl> |
187 <dl> | 185 <dl> |
188 <dt class="deprecated">--file-read-mode</dt> | 186 <dt class="deprecated">--file-read-mode</dt> |
189 <dd> | 187 <dd> |
190 <p><b>Deprecated:</b> clients should no longer pass this option in</p> | 188 <p><b>Deprecated:</b> clients should no longer pass this option in</p> |
191 An enumeration of the ways files can be read from disk. Some clients | 189 An enumeration of the ways files can be read from disk. Some clients |
192 normalize end of line characters which would make the file offset and | 190 normalize end of line characters which would make the file offset and |
193 range information incorrect. The default option is <tt>as-is</tt>, but | 191 range information incorrect. The default option is <tt>as-is</tt>, but |
194 can also be set to <tt>normalize-eol-always</tt>. The default option | 192 can also be set to <tt>normalize-eol-always</tt>. The default option |
(...skipping 3698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3893 One of the method parameters was invalid. | 3891 One of the method parameters was invalid. |
3894 </p> | 3892 </p> |
3895 </value> | 3893 </value> |
3896 <value> | 3894 <value> |
3897 <code>INVALID_REQUEST</code> | 3895 <code>INVALID_REQUEST</code> |
3898 <p> | 3896 <p> |
3899 A malformed request was received. | 3897 A malformed request was received. |
3900 </p> | 3898 </p> |
3901 </value> | 3899 </value> |
3902 <value> | 3900 <value> |
3903 <code>NO_INDEX_GENERATED</code> | |
3904 <p> | |
3905 The "--no-index" flag was passed when the analysis server created, | |
3906 but this API call requires an index to have been generated. | |
3907 </p> | |
3908 </value> | |
3909 <value> | |
3910 <code>ORGANIZE_DIRECTIVES_ERROR</code> | 3901 <code>ORGANIZE_DIRECTIVES_ERROR</code> |
3911 <p> | 3902 <p> |
3912 An "edit.organizeDirectives" request specified a Dart file that | 3903 An "edit.organizeDirectives" request specified a Dart file that |
3913 cannot be analyzed. The reason is described in the message. | 3904 cannot be analyzed. The reason is described in the message. |
3914 </p> | 3905 </p> |
3915 </value> | 3906 </value> |
3916 <value> | 3907 <value> |
3917 <code>REFACTORING_REQUEST_CANCELLED</code> | 3908 <code>REFACTORING_REQUEST_CANCELLED</code> |
3918 <p> | 3909 <p> |
3919 Another refactoring request was received during processing of | 3910 Another refactoring request was received during processing of |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4645 This section contains a list of all of the errors that are | 4636 This section contains a list of all of the errors that are |
4646 produced by the server and the data that is returned with each. | 4637 produced by the server and the data that is returned with each. |
4647 </p> | 4638 </p> |
4648 <p> | 4639 <p> |
4649 TODO: TBD | 4640 TODO: TBD |
4650 </p> | 4641 </p> |
4651 <h2 class="domain"><a name="index">Index</a></h2> | 4642 <h2 class="domain"><a name="index">Index</a></h2> |
4652 <index></index> | 4643 <index></index> |
4653 </body> | 4644 </body> |
4654 </html> | 4645 </html> |
OLD | NEW |