| 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 * omitted if the refactoring does not require any options or if the v
alues of those | 245 * omitted if the refactoring does not require any options or if the v
alues of those |
| 246 * options are not known. | 246 * options are not known. |
| 247 */ | 247 */ |
| 248 public void edit_getRefactoring(String kind, String file, int offset, int leng
th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con
sumer); | 248 public void edit_getRefactoring(String kind, String file, int offset, int leng
th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con
sumer); |
| 249 | 249 |
| 250 /** | 250 /** |
| 251 * {@code edit.sortMembers} | 251 * {@code edit.sortMembers} |
| 252 * | 252 * |
| 253 * Sort all of the directives, unit and class members of the given Dart file. | 253 * Sort all of the directives, unit and class members of the given Dart file. |
| 254 * | 254 * |
| 255 * It is an error if the file does not exist or has scan or parse errors. |
| 256 * |
| 255 * @param file The Dart file to sort. | 257 * @param file The Dart file to sort. |
| 256 */ | 258 */ |
| 257 public void edit_sortMembers(String file, SortMembersConsumer consumer); | 259 public void edit_sortMembers(String file, SortMembersConsumer consumer); |
| 258 | 260 |
| 259 /** | 261 /** |
| 260 * {@code execution.createContext} | 262 * {@code execution.createContext} |
| 261 * | 263 * |
| 262 * Create an execution context for the executable file with the given path. Th
e context that is | 264 * Create an execution context for the executable file with the given path. Th
e context that is |
| 263 * created will persist until execution.deleteContext is used to delete it. Cl
ients, therefore, are | 265 * created will persist until execution.deleteContext is used to delete it. Cl
ients, therefore, are |
| 264 * responsible for managing the lifetime of execution contexts. | 266 * responsible for managing the lifetime of execution contexts. |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 * the response to this request has been sent. | 407 * the response to this request has been sent. |
| 406 */ | 408 */ |
| 407 public void server_shutdown(); | 409 public void server_shutdown(); |
| 408 | 410 |
| 409 /** | 411 /** |
| 410 * Start the analysis server. | 412 * Start the analysis server. |
| 411 */ | 413 */ |
| 412 public void start() throws Exception; | 414 public void start() throws Exception; |
| 413 | 415 |
| 414 } | 416 } |
| OLD | NEW |