| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014, the Dart project authors. | 2 * Copyright (c) 2014, 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 * {@code edit.organizeDirectives} | 354 * {@code edit.organizeDirectives} |
| 355 * | 355 * |
| 356 * Organizes all of the directives - removes unused imports and sorts directiv
es of the given Dart | 356 * Organizes all of the directives - removes unused imports and sorts directiv
es of the given Dart |
| 357 * file according to the Dart Style Guide. | 357 * file according to the Dart Style Guide. |
| 358 * | 358 * |
| 359 * If a request is made for a file that does not exist, does not belong to an
analysis root or is | 359 * If a request is made for a file that does not exist, does not belong to an
analysis root or is |
| 360 * not a Dart file, FILE_NOT_ANALYZED will be generated. | 360 * not a Dart file, FILE_NOT_ANALYZED will be generated. |
| 361 * | 361 * |
| 362 * If directives of the Dart file cannot be organized, for example because it
has scan or parse | 362 * If directives of the Dart file cannot be organized, for example because it
has scan or parse |
| 363 * errors, or by other reasons, ORGANIZE_DIRECTIVES_ERROR will be generated. T
he message will | 363 * errors, or by other reasons, ORGANIZE_DIRECTIVES_ERROR will be generated. T
he message will |
| 364 * provide datails about the reason. | 364 * provide details about the reason. |
| 365 * | 365 * |
| 366 * @param file The Dart file to organize directives in. | 366 * @param file The Dart file to organize directives in. |
| 367 */ | 367 */ |
| 368 public void edit_organizeDirectives(String file, OrganizeDirectivesConsumer co
nsumer); | 368 public void edit_organizeDirectives(String file, OrganizeDirectivesConsumer co
nsumer); |
| 369 | 369 |
| 370 /** | 370 /** |
| 371 * {@code edit.sortMembers} | 371 * {@code edit.sortMembers} |
| 372 * | 372 * |
| 373 * Sort all of the directives, unit and class members of the given Dart file. | 373 * Sort all of the directives, unit and class members of the given Dart file. |
| 374 * | 374 * |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 * the response to this request has been sent. | 550 * the response to this request has been sent. |
| 551 */ | 551 */ |
| 552 public void server_shutdown(); | 552 public void server_shutdown(); |
| 553 | 553 |
| 554 /** | 554 /** |
| 555 * Start the analysis server. | 555 * Start the analysis server. |
| 556 */ | 556 */ |
| 557 public void start() throws Exception; | 557 public void start() throws Exception; |
| 558 | 558 |
| 559 } | 559 } |
| OLD | NEW |