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

Unified Diff: pkg/analysis_server/doc/api.html

Issue 874373003: Library dependencies server API updates (to pass package maps). (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 43154)
+++ pkg/analysis_server/doc/api.html (working copy)
@@ -475,20 +475,28 @@
"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;
+ "<b>packageMap</b>": Map&lt;String, Map&lt;String, List&lt;<a href="#type_FilePath">FilePath</a>&gt;&gt;&gt;
}
}</pre></div>
- <p>
- Return a list of all of the libraries referenced by any files in
- existing analysis roots.
- </p>
+ <p>
+ Return library dependency information for use in client-side indexing
+ and package URI resolution.
+ </p>
+
+ <h4>Returns</h4><dl><dt class="field"><b><i>libraries ( List&lt;<a href="#type_FilePath">FilePath</a>&gt; )</i></b></dt><dd>
- <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: {
+ <p>
+ A list of the paths of library elements referenced by
+ files in existing analysis roots.
+ </p>
+ </dd><dt class="field"><b><i>packageMap ( Map&lt;String, Map&lt;String, List&lt;<a href="#type_FilePath">FilePath</a>&gt;&gt;&gt; )</i></b></dt><dd>
+
+ <p>
+ A mapping from context source roots to package maps which map
+ package names to source directories for use in client-side
+ package URI resolution.
+ </p>
+ </dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><div class="box"><pre>request: {
"id": String
"method": "analysis.getNavigation"
"params": {

Powered by Google App Engine
This is Rietveld 408576698