| 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 * REFACTORING_REQUEST_CANCELLED will be generated. | 371 * REFACTORING_REQUEST_CANCELLED will be generated. |
| 372 * | 372 * |
| 373 * @param kind The kind of refactoring to be performed. | 373 * @param kind The kind of refactoring to be performed. |
| 374 * @param file The file containing the code involved in the refactoring. | 374 * @param file The file containing the code involved in the refactoring. |
| 375 * @param offset The offset of the region involved in the refactoring. | 375 * @param offset The offset of the region involved in the refactoring. |
| 376 * @param length The length of the region involved in the refactoring. | 376 * @param length The length of the region involved in the refactoring. |
| 377 * @param validateOnly True if the client is only requesting that the values o
f the options be | 377 * @param validateOnly True if the client is only requesting that the values o
f the options be |
| 378 * validated and no change be generated. | 378 * validated and no change be generated. |
| 379 * @param options Data used to provide values provided by the user. The struct
ure of the data is | 379 * @param options Data used to provide values provided by the user. The struct
ure of the data is |
| 380 * dependent on the kind of refactoring being performed. The data that
is expected is | 380 * dependent on the kind of refactoring being performed. The data that
is expected is |
| 381 * documented in the section titled Refactorings, labeled as "Options"
. This field can be | 381 * documented in the section titled Refactorings, labeled as “Options”
. This field can be |
| 382 * omitted if the refactoring does not require any options or if the v
alues of those | 382 * omitted if the refactoring does not require any options or if the v
alues of those |
| 383 * options are not known. | 383 * options are not known. |
| 384 */ | 384 */ |
| 385 public void edit_getRefactoring(String kind, String file, int offset, int leng
th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con
sumer); | 385 public void edit_getRefactoring(String kind, String file, int offset, int leng
th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con
sumer); |
| 386 | 386 |
| 387 /** | 387 /** |
| 388 * {@code edit.organizeDirectives} | 388 * {@code edit.organizeDirectives} |
| 389 * | 389 * |
| 390 * Organizes all of the directives - removes unused imports and sorts directiv
es of the given Dart | 390 * Organizes all of the directives - removes unused imports and sorts directiv
es of the given Dart |
| 391 * file according to the Dart Style Guide. | 391 * file according to the Dart Style Guide. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 * | 460 * |
| 461 * @param id The identifier of the execution context in which the URI is to be
mapped. | 461 * @param id The identifier of the execution context in which the URI is to be
mapped. |
| 462 * @param file The path of the file to be mapped into a URI. | 462 * @param file The path of the file to be mapped into a URI. |
| 463 * @param uri The URI to be mapped into a file path. | 463 * @param uri The URI to be mapped into a file path. |
| 464 */ | 464 */ |
| 465 public void execution_mapUri(String id, String file, String uri, MapUriConsume
r consumer); | 465 public void execution_mapUri(String id, String file, String uri, MapUriConsume
r consumer); |
| 466 | 466 |
| 467 /** | 467 /** |
| 468 * {@code execution.setSubscriptions} | 468 * {@code execution.setSubscriptions} |
| 469 * | 469 * |
| 470 * Deprecated: the analysis server no longer fires LAUNCH_DATA events. | |
| 471 * | |
| 472 * Subscribe for services. All previous subscriptions are replaced by the give
n set of services. | 470 * Subscribe for services. All previous subscriptions are replaced by the give
n set of services. |
| 473 * | 471 * |
| 474 * It is an error if any of the elements in the list are not valid services. I
f there is an error, | 472 * It is an error if any of the elements in the list are not valid services. I
f there is an error, |
| 475 * then the current subscriptions will remain unchanged. | 473 * then the current subscriptions will remain unchanged. |
| 476 * | 474 * |
| 477 * @param subscriptions A list of the services being subscribed to. | 475 * @param subscriptions A list of the services being subscribed to. |
| 478 */ | 476 */ |
| 479 public void execution_setSubscriptions(List<String> subscriptions); | 477 public void execution_setSubscriptions(List<String> subscriptions); |
| 480 | 478 |
| 481 /** | 479 /** |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 * the response to this request has been sent. | 584 * the response to this request has been sent. |
| 587 */ | 585 */ |
| 588 public void server_shutdown(); | 586 public void server_shutdown(); |
| 589 | 587 |
| 590 /** | 588 /** |
| 591 * Start the analysis server. | 589 * Start the analysis server. |
| 592 */ | 590 */ |
| 593 public void start() throws Exception; | 591 public void start() throws Exception; |
| 594 | 592 |
| 595 } | 593 } |
| OLD | NEW |