| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 * Return the hover information associate with the given location. If some or
all of the hover | 66 * Return the hover information associate with the given location. If some or
all of the hover |
| 67 * information is not available at the time this request is processed the info
rmation will be | 67 * information is not available at the time this request is processed the info
rmation will be |
| 68 * omitted from the response. | 68 * omitted from the response. |
| 69 * | 69 * |
| 70 * @param file The file in which hover information is being requested. | 70 * @param file The file in which hover information is being requested. |
| 71 * @param offset The offset for which hover information is being requested. | 71 * @param offset The offset for which hover information is being requested. |
| 72 */ | 72 */ |
| 73 public void analysis_getHover(String file, int offset, GetHoverConsumer consum
er); | 73 public void analysis_getHover(String file, int offset, GetHoverConsumer consum
er); |
| 74 | 74 |
| 75 /** | 75 /** |
| 76 * {@code analysis.getLibraryDependencies} |
| 77 * |
| 78 * Return a list of all of the directories containing libraries referenced by
any files in existing |
| 79 * analysis roots. |
| 80 */ |
| 81 public void analysis_getLibraryDependencies(GetLibraryDependenciesConsumer con
sumer); |
| 82 |
| 83 /** |
| 76 * {@code analysis.getNavigation} | 84 * {@code analysis.getNavigation} |
| 77 * | 85 * |
| 78 * Return the navigation information associated with the given region of the g
iven file. If the | 86 * Return the navigation information associated with the given region of the g
iven file. If the |
| 79 * navigation information for the given file has not yet been computed, or the
most recently | 87 * navigation information for the given file has not yet been computed, or the
most recently |
| 80 * computed navigation information for the given file is out of date, then the
response for this | 88 * computed navigation information for the given file is out of date, then the
response for this |
| 81 * request will be delayed until it has been computed. If the content of the f
ile changes after | 89 * request will be delayed until it has been computed. If the content of the f
ile changes after |
| 82 * this request was received but before a response could be sent, then an erro
r of type | 90 * this request was received but before a response could be sent, then an erro
r of type |
| 83 * CONTENT_MODIFIED will be generated. | 91 * CONTENT_MODIFIED will be generated. |
| 84 * | 92 * |
| 85 * If a navigation region overlaps (but extends either before or after) the gi
ven region of the | 93 * If a navigation region overlaps (but extends either before or after) the gi
ven region of the |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 * the response to this request has been sent. | 473 * the response to this request has been sent. |
| 466 */ | 474 */ |
| 467 public void server_shutdown(); | 475 public void server_shutdown(); |
| 468 | 476 |
| 469 /** | 477 /** |
| 470 * Start the analysis server. | 478 * Start the analysis server. |
| 471 */ | 479 */ |
| 472 public void start() throws Exception; | 480 public void start() throws Exception; |
| 473 | 481 |
| 474 } | 482 } |
| OLD | NEW |