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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.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, 10 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> 1 <html>
2 <head> 2 <head>
3 <meta charset="UTF-8"/> 3 <meta charset="UTF-8"/>
4 <title>Analysis Server API Specification</title> 4 <title>Analysis Server API Specification</title>
5 </head> 5 </head>
6 <body> 6 <body>
7 <h1>Analysis Server API Specification</h1> 7 <h1>Analysis Server API Specification</h1>
8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 > 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 >
9 <p> 9 <p>
10 This document contains a specification of the API provided by 10 This document contains a specification of the API provided by
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 location. The list will be empty if no information 362 location. The list will be empty if no information
363 could be determined for the location. The list can 363 could be determined for the location. The list can
364 contain multiple items if the file is being analyzed 364 contain multiple items if the file is being analyzed
365 in multiple contexts in conflicting ways (such as a 365 in multiple contexts in conflicting ways (such as a
366 part that is included in multiple libraries). 366 part that is included in multiple libraries).
367 </p> 367 </p>
368 </field> 368 </field>
369 </result> 369 </result>
370 </request> 370 </request>
371 <request method="getLibraryDependencies"> 371 <request method="getLibraryDependencies">
372 <p> 372 <p>
373 Return a list of all of the libraries referenced by any files in 373 Return library dependency information for use in client-side indexing
374 existing analysis roots. 374 and package URI resolution.
375 </p> 375 </p>
376 <result> 376 <result>
377 <field name="libraries"> 377 <field name="libraries">
378 <list><ref>FilePath</ref></list> 378 <list><ref>FilePath</ref></list>
379 <p> 379 <p>
380 A list of the paths of library elements referenced by 380 A list of the paths of library elements referenced by
381 files in existing analysis roots. 381 files in existing analysis roots.
382 </p> 382 </p>
383 </field> 383 </field>
384 </result> 384 <field name="packageMap">
385 <map>
386 <key><ref>String</ref></key>
387 <value><ref>FilePath</ref></value>
388 </map>
389 <p>
390 A mapping from package names to source directories for use
391 in client-side package URI resolution.
392 </p>
393 </field>
394 </result>
385 </request> 395 </request>
386 <request method="getNavigation"> 396 <request method="getNavigation">
387 <p> 397 <p>
388 Return the navigation information associated with the given region of 398 Return the navigation information associated with the given region of
389 the given file. If the navigation information for the given file has 399 the given file. If the navigation information for the given file has
390 not yet been computed, or the most recently computed navigation 400 not yet been computed, or the most recently computed navigation
391 information for the given file is out of date, then the response for 401 information for the given file is out of date, then the response for
392 this request will be delayed until it has been computed. If the 402 this request will be delayed until it has been computed. If the
393 content of the file changes after this request was received but before 403 content of the file changes after this request was received but before
394 a response could be sent, then an error of type 404 a response could be sent, then an error of type
(...skipping 3349 matching lines...) Expand 10 before | Expand all | Expand 10 after
3744 <h2>Errors</h2> 3754 <h2>Errors</h2>
3745 <p> 3755 <p>
3746 This section contains a list of all of the errors that are 3756 This section contains a list of all of the errors that are
3747 produced by the server and the data that is returned with each. 3757 produced by the server and the data that is returned with each.
3748 </p> 3758 </p>
3749 <p> 3759 <p>
3750 TBD 3760 TBD
3751 </p> 3761 </p>
3752 </body> 3762 </body>
3753 </html> 3763 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698