| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 * Return the hover information associate with the given location. If some or
all of the hover | 65 * Return the hover information associate with the given location. If some or
all of the hover |
| 66 * information is not available at the time this request is processed the info
rmation will be | 66 * information is not available at the time this request is processed the info
rmation will be |
| 67 * omitted from the response. | 67 * omitted from the response. |
| 68 * | 68 * |
| 69 * @param file The file in which hover information is being requested. | 69 * @param file The file in which hover information is being requested. |
| 70 * @param offset The offset for which hover information is being requested. | 70 * @param offset The offset for which hover information is being requested. |
| 71 */ | 71 */ |
| 72 public void analysis_getHover(String file, int offset, GetHoverConsumer consum
er); | 72 public void analysis_getHover(String file, int offset, GetHoverConsumer consum
er); |
| 73 | 73 |
| 74 /** | 74 /** |
| 75 * {@code analysis.getNavigation} |
| 76 * |
| 77 * Return the navigation information associated with the given region of the g
iven file. |
| 78 * |
| 79 * If a navigation region is partially contained in (but extends either before
or after) the given |
| 80 * region of the file it will be included in the result. This means that it is
theoretically |
| 81 * possible to get the same navigation region in response to multiple requests
. Clients can avoid |
| 82 * this by always choosing a region that starts at the beginning of a line and
ends at the end of a |
| 83 * line in the file. |
| 84 * |
| 85 * @param file The file in which navigation information is being requested. |
| 86 * @param start The offset of the start of the region for which hover informat
ion is being |
| 87 * requested. |
| 88 * @param end The offset of the end of the region for which hover information
is being requested. |
| 89 */ |
| 90 public void analysis_getNavigation(String file, int start, int end, GetNavigat
ionConsumer consumer); |
| 91 |
| 92 /** |
| 75 * {@code analysis.reanalyze} | 93 * {@code analysis.reanalyze} |
| 76 * | 94 * |
| 77 * Force the re-analysis of everything contained in the existing analysis root
s. This will cause | 95 * Force the re-analysis of everything contained in the existing analysis root
s. This will cause |
| 78 * all previously computed analysis results to be discarded and recomputed, an
d will cause all | 96 * all previously computed analysis results to be discarded and recomputed, an
d will cause all |
| 79 * subscribed notifications to be re-sent. | 97 * subscribed notifications to be re-sent. |
| 80 */ | 98 */ |
| 81 public void analysis_reanalyze(); | 99 public void analysis_reanalyze(); |
| 82 | 100 |
| 83 /** | 101 /** |
| 84 * {@code analysis.setAnalysisRoots} | 102 * {@code analysis.setAnalysisRoots} |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 * the response to this request has been sent. | 437 * the response to this request has been sent. |
| 420 */ | 438 */ |
| 421 public void server_shutdown(); | 439 public void server_shutdown(); |
| 422 | 440 |
| 423 /** | 441 /** |
| 424 * Start the analysis server. | 442 * Start the analysis server. |
| 425 */ | 443 */ |
| 426 public void start() throws Exception; | 444 public void start() throws Exception; |
| 427 | 445 |
| 428 } | 446 } |
| OLD | NEW |