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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/doc/api.html
===================================================================
--- pkg/analysis_server/doc/api.html (revision 43075)
+++ pkg/analysis_server/doc/api.html (working copy)
@@ -363,6 +363,7 @@
+
<h3>Requests</h3><dl><dt class="request">analysis.getErrors</dt><dd><div class="box"><pre>request: {
"id": String
"method": "analysis.getErrors"
@@ -457,8 +458,29 @@
in multiple contexts in conflicting ways (such as a
part that is included in multiple libraries).
</p>
- </dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><div class="box"><pre>request: {
+ </dd></dl></dd><dt class="request">analysis.getLibraryDependencies</dt><dd><div class="box"><pre>request: {
"id": String
+ "method": "analysis.getLibraryDependencies"
+}</pre><br><pre>response: {
+ "id": String
+ "error": <span style="color:#999999">optional</span> <a href="#type_RequestError">RequestError</a>
+ "result": {
+ "<b>libraries</b>": List&lt;<a href="#type_FilePath">FilePath</a>&gt;
+ }
+}</pre></div>
+ <p>
+ Return a list of all of the libraries referenced by any files in
+ existing analysis roots.
+ </p>
+
+ <h4>Returns</h4><dl><dt class="field"><b><i>libraries ( List&lt;<a href="#type_FilePath">FilePath</a>&gt; )</i></b></dt><dd>
+
+ <p>
+ A list of the paths of library elements referenced by
+ files in existing analysis roots.
+ </p>
+ </dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><div class="box"><pre>request: {
+ "id": String
"method": "analysis.getNavigation"
"params": {
"<b>file</b>": <a href="#type_FilePath">FilePath</a>

Powered by Google App Engine
This is Rietveld 408576698