| OLD | NEW |
| 1 <html><head> | 1 <html><head> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <title>Analysis Server API Specification</title> | 3 <title>Analysis Server API Specification</title> |
| 4 <style>body { | 4 <style>body { |
| 5 font-family: sans-serif, serif; | 5 font-family: sans-serif, serif; |
| 6 padding-left: 5%; | 6 padding-left: 5%; |
| 7 padding-right: 5%; | 7 padding-right: 5%; |
| 8 } | 8 } |
| 9 h1 { | 9 h1 { |
| 10 text-align: center; | 10 text-align: center; |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 part that is included in multiple libraries). | 468 part that is included in multiple libraries). |
| 469 </p> | 469 </p> |
| 470 </dd></dl></dd><dt class="request">analysis.getLibraryDependencies</dt
><dd><div class="box"><pre>request: { | 470 </dd></dl></dd><dt class="request">analysis.getLibraryDependencies</dt
><dd><div class="box"><pre>request: { |
| 471 "id": String | 471 "id": String |
| 472 "method": "analysis.getLibraryDependencies" | 472 "method": "analysis.getLibraryDependencies" |
| 473 }</pre><br><pre>response: { | 473 }</pre><br><pre>response: { |
| 474 "id": String | 474 "id": String |
| 475 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr
or">RequestError</a> | 475 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr
or">RequestError</a> |
| 476 "result": { | 476 "result": { |
| 477 "<b>libraries</b>": List<<a href="#type_FilePath">FilePath</a>> | 477 "<b>libraries</b>": List<<a href="#type_FilePath">FilePath</a>> |
| 478 "<b>packageMap</b>": Map<String, Map<String, List<<a href="#type_Fi
lePath">FilePath</a>>>> |
| 478 } | 479 } |
| 479 }</pre></div> | 480 }</pre></div> |
| 480 <p> | 481 <p> |
| 481 Return a list of all of the libraries referenced by any files in | 482 Return library dependency information for use in client-side indexing |
| 482 existing analysis roots. | 483 and package URI resolution. |
| 483 </p> | 484 </p> |
| 485 |
| 486 <h4>Returns</h4><dl><dt class="field"><b><i>libraries ( List<<a href="#
type_FilePath">FilePath</a>> )</i></b></dt><dd> |
| 484 | 487 |
| 485 <h4>Returns</h4><dl><dt class="field"><b><i>libraries ( List<<a href="#
type_FilePath">FilePath</a>> )</i></b></dt><dd> | 488 <p> |
| 486 | 489 A list of the paths of library elements referenced by |
| 487 <p> | 490 files in existing analysis roots. |
| 488 A list of the paths of library elements referenced by | 491 </p> |
| 489 files in existing analysis roots. | 492 </dd><dt class="field"><b><i>packageMap ( Map<String, Map<Stri
ng, List<<a href="#type_FilePath">FilePath</a>>>> )</i></b></dt><dd> |
| 490 </p> | 493 |
| 491 </dd></dl></dd><dt class="request">analysis.getNavigation</dt><d
d><div class="box"><pre>request: { | 494 <p> |
| 495 A mapping from context source roots to package maps which map |
| 496 package names to source directories for use in client-side |
| 497 package URI resolution. |
| 498 </p> |
| 499 </dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><d
iv class="box"><pre>request: { |
| 492 "id": String | 500 "id": String |
| 493 "method": "analysis.getNavigation" | 501 "method": "analysis.getNavigation" |
| 494 "params": { | 502 "params": { |
| 495 "<b>file</b>": <a href="#type_FilePath">FilePath</a> | 503 "<b>file</b>": <a href="#type_FilePath">FilePath</a> |
| 496 "<b>offset</b>": int | 504 "<b>offset</b>": int |
| 497 "<b>length</b>": int | 505 "<b>length</b>": int |
| 498 } | 506 } |
| 499 }</pre><br><pre>response: { | 507 }</pre><br><pre>response: { |
| 500 "id": String | 508 "id": String |
| 501 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr
or">RequestError</a> | 509 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr
or">RequestError</a> |
| (...skipping 3157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3659 <p> | 3667 <p> |
| 3660 This section contains a list of all of the errors that are | 3668 This section contains a list of all of the errors that are |
| 3661 produced by the server and the data that is returned with each. | 3669 produced by the server and the data that is returned with each. |
| 3662 </p> | 3670 </p> |
| 3663 <p> | 3671 <p> |
| 3664 TBD | 3672 TBD |
| 3665 </p> | 3673 </p> |
| 3666 | 3674 |
| 3667 | 3675 |
| 3668 </body></html> | 3676 </body></html> |
| OLD | NEW |