| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 * @param files A table mapping the files whose content has changed to a descr
iption of the content | 164 * @param files A table mapping the files whose content has changed to a descr
iption of the content |
| 165 * change. | 165 * change. |
| 166 */ | 166 */ |
| 167 public void analysis_updateContent(Map<String, Object> files); | 167 public void analysis_updateContent(Map<String, Object> files); |
| 168 | 168 |
| 169 /** | 169 /** |
| 170 * {@code analysis.updateOptions} | 170 * {@code analysis.updateOptions} |
| 171 * | 171 * |
| 172 * Update the options controlling analysis based on the given set of options.
Any options that are | 172 * Update the options controlling analysis based on the given set of options.
Any options that are |
| 173 * not included in the analysis options will not be changed. If there are opti
ons in the analysis | 173 * not included in the analysis options will not be changed. If there are opti
ons in the analysis |
| 174 * options that are not valid an error will be reported but the values of the
valid options will | 174 * options that are not valid, they will be silently ignored. |
| 175 * still be updated. | |
| 176 * | 175 * |
| 177 * @param options The options that are to be used to control analysis. | 176 * @param options The options that are to be used to control analysis. |
| 178 */ | 177 */ |
| 179 public void analysis_updateOptions(AnalysisOptions options); | 178 public void analysis_updateOptions(AnalysisOptions options); |
| 180 | 179 |
| 181 /** | 180 /** |
| 182 * {@code completion.getSuggestions} | 181 * {@code completion.getSuggestions} |
| 183 * | 182 * |
| 184 * Request that completion suggestions for the given offset in the given file
be returned. | 183 * Request that completion suggestions for the given offset in the given file
be returned. |
| 185 * | 184 * |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 393 |
| 395 /** | 394 /** |
| 396 * Start the analysis server. | 395 * Start the analysis server. |
| 397 * | 396 * |
| 398 * @param millisToRestart the number of milliseconds to wait for an unresponsi
ve server before | 397 * @param millisToRestart the number of milliseconds to wait for an unresponsi
ve server before |
| 399 * restarting it, or zero if the server should not be restarted. | 398 * restarting it, or zero if the server should not be restarted. |
| 400 */ | 399 */ |
| 401 public void start(long millisToRestart) throws Exception; | 400 public void start(long millisToRestart) throws Exception; |
| 402 | 401 |
| 403 } | 402 } |
| OLD | NEW |