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