OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015, the Dart project authors. | 2 * Copyright (c) 2015, the Dart project authors. |
3 * | 3 * |
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except |
5 * in compliance with the License. You may obtain a copy of the License at | 5 * in compliance with the License. You may obtain a copy of the License at |
6 * | 6 * |
7 * http://www.eclipse.org/legal/epl-v10.html | 7 * http://www.eclipse.org/legal/epl-v10.html |
8 * | 8 * |
9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License |
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 /** | 272 /** |
273 * {@code analysis.updateOptions} | 273 * {@code analysis.updateOptions} |
274 * | 274 * |
275 * Deprecated: all of the options can be set by users in an analysis options f
ile. | 275 * Deprecated: all of the options can be set by users in an analysis options f
ile. |
276 * | 276 * |
277 * Update the options controlling analysis based on the given set of options.
Any options that are | 277 * Update the options controlling analysis based on the given set of options.
Any options that are |
278 * not included in the analysis options will not be changed. If there are opti
ons in the analysis | 278 * not included in the analysis options will not be changed. If there are opti
ons in the analysis |
279 * options that are not valid, they will be silently ignored. | 279 * options that are not valid, they will be silently ignored. |
280 * | 280 * |
281 * @param options The options that are to be used to control analysis. | 281 * @param options The options that are to be used to control analysis. |
| 282 * |
| 283 * @deprecated |
282 */ | 284 */ |
283 public void analysis_updateOptions(AnalysisOptions options); | 285 public void analysis_updateOptions(AnalysisOptions options); |
284 | 286 |
285 /** | 287 /** |
286 * {@code completion.getSuggestions} | 288 * {@code completion.getSuggestions} |
287 * | 289 * |
288 * Request that completion suggestions for the given offset in the given file
be returned. | 290 * Request that completion suggestions for the given offset in the given file
be returned. |
289 * | 291 * |
290 * @param file The file containing the point at which suggestions are to be ma
de. | 292 * @param file The file containing the point at which suggestions are to be ma
de. |
291 * @param offset The offset within the file at which suggestions are to be mad
e. | 293 * @param offset The offset within the file at which suggestions are to be mad
e. |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 * {@code execution.setSubscriptions} | 486 * {@code execution.setSubscriptions} |
485 * | 487 * |
486 * Deprecated: the analysis server no longer fires LAUNCH_DATA events. | 488 * Deprecated: the analysis server no longer fires LAUNCH_DATA events. |
487 * | 489 * |
488 * Subscribe for services. All previous subscriptions are replaced by the give
n set of services. | 490 * Subscribe for services. All previous subscriptions are replaced by the give
n set of services. |
489 * | 491 * |
490 * It is an error if any of the elements in the list are not valid services. I
f there is an error, | 492 * It is an error if any of the elements in the list are not valid services. I
f there is an error, |
491 * then the current subscriptions will remain unchanged. | 493 * then the current subscriptions will remain unchanged. |
492 * | 494 * |
493 * @param subscriptions A list of the services being subscribed to. | 495 * @param subscriptions A list of the services being subscribed to. |
| 496 * |
| 497 * @deprecated |
494 */ | 498 */ |
495 public void execution_setSubscriptions(List<String> subscriptions); | 499 public void execution_setSubscriptions(List<String> subscriptions); |
496 | 500 |
497 /** | 501 /** |
498 * Return {@code true} if the socket is open. | 502 * Return {@code true} if the socket is open. |
499 */ | 503 */ |
500 public boolean isSocketOpen(); | 504 public boolean isSocketOpen(); |
501 | 505 |
502 /** | 506 /** |
503 * Remove the given listener from the list of listeners that will receive noti
fication when new | 507 * Remove the given listener from the list of listeners that will receive noti
fication when new |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 * the response to this request has been sent. | 606 * the response to this request has been sent. |
603 */ | 607 */ |
604 public void server_shutdown(); | 608 public void server_shutdown(); |
605 | 609 |
606 /** | 610 /** |
607 * Start the analysis server. | 611 * Start the analysis server. |
608 */ | 612 */ |
609 public void start() throws Exception; | 613 public void start() throws Exception; |
610 | 614 |
611 } | 615 } |
OLD | NEW |