Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 861893003: Library Dependencies Analysis service API. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 356
357 357
358 358
359 359
360 360
361 361
362 362
363 363
364 364
365 365
366
366 <h3>Requests</h3><dl><dt class="request">analysis.getErrors</dt><dd><div cla ss="box"><pre>request: { 367 <h3>Requests</h3><dl><dt class="request">analysis.getErrors</dt><dd><div cla ss="box"><pre>request: {
367 "id": String 368 "id": String
368 "method": "analysis.getErrors" 369 "method": "analysis.getErrors"
369 "params": { 370 "params": {
370 "<b>file</b>": <a href="#type_FilePath">FilePath</a> 371 "<b>file</b>": <a href="#type_FilePath">FilePath</a>
371 } 372 }
372 }</pre><br><pre>response: { 373 }</pre><br><pre>response: {
373 "id": String 374 "id": String
374 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a> 375 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a>
375 "result": { 376 "result": {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>hovers ( List&lt ;<a href="#type_HoverInformation">HoverInformation</a>&gt; )</i></b></dt><dd> 451 </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>hovers ( List&lt ;<a href="#type_HoverInformation">HoverInformation</a>&gt; )</i></b></dt><dd>
451 452
452 <p> 453 <p>
453 The hover information associated with the 454 The hover information associated with the
454 location. The list will be empty if no information 455 location. The list will be empty if no information
455 could be determined for the location. The list can 456 could be determined for the location. The list can
456 contain multiple items if the file is being analyzed 457 contain multiple items if the file is being analyzed
457 in multiple contexts in conflicting ways (such as a 458 in multiple contexts in conflicting ways (such as a
458 part that is included in multiple libraries). 459 part that is included in multiple libraries).
459 </p> 460 </p>
460 </dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><div class="box"><pre>request: { 461 </dd></dl></dd><dt class="request">analysis.getLibraryDependencies</dt ><dd><div class="box"><pre>request: {
462 "id": String
463 "method": "analysis.getLibraryDependencies"
464 }</pre><br><pre>response: {
465 "id": String
466 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a>
467 "result": {
468 "<b>directories</b>": List&lt;<a href="#type_FilePath">FilePath</a>&gt;
469 }
470 }</pre></div>
471 <p>
472 Return a list of all of the directories containing libraries
473 referenced by any files in existing analysis roots.
474 </p>
475
476 <h4>Returns</h4><dl><dt class="field"><b><i>directories ( List&lt;<a href= "#type_FilePath">FilePath</a>&gt; )</i></b></dt><dd>
477
478 <p>
479 A list of the paths of directories that contain library
480 elements referenced by files in existing analysis roots.
481 </p>
482 </dd></dl></dd><dt class="request">analysis.getNavigation</dt><d d><div class="box"><pre>request: {
461 "id": String 483 "id": String
462 "method": "analysis.getNavigation" 484 "method": "analysis.getNavigation"
463 "params": { 485 "params": {
464 "<b>file</b>": <a href="#type_FilePath">FilePath</a> 486 "<b>file</b>": <a href="#type_FilePath">FilePath</a>
465 "<b>offset</b>": int 487 "<b>offset</b>": int
466 "<b>length</b>": int 488 "<b>length</b>": int
467 } 489 }
468 }</pre><br><pre>response: { 490 }</pre><br><pre>response: {
469 "id": String 491 "id": String
470 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a> 492 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a>
(...skipping 3154 matching lines...) Expand 10 before | Expand all | Expand 10 after
3625 <p> 3647 <p>
3626 This section contains a list of all of the errors that are 3648 This section contains a list of all of the errors that are
3627 produced by the server and the data that is returned with each. 3649 produced by the server and the data that is returned with each.
3628 </p> 3650 </p>
3629 <p> 3651 <p>
3630 TBD 3652 TBD
3631 </p> 3653 </p>
3632 3654
3633 3655
3634 </body></html> 3656 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698