| OLD | NEW |
| 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 Loading... |
| 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> |
| 388 <map> |
| 389 <key><ref>String</ref></key> |
| 390 <value><list><ref>FilePath</ref></list></value> |
| 391 </map> |
| 392 </value> |
| 393 </map> |
| 394 <p> |
| 395 A mapping from context source roots to package maps which map |
| 396 package names to source directories for use in client-side |
| 397 package URI resolution. |
| 398 </p> |
| 399 </field> |
| 400 </result> |
| 385 </request> | 401 </request> |
| 386 <request method="getNavigation"> | 402 <request method="getNavigation"> |
| 387 <p> | 403 <p> |
| 388 Return the navigation information associated with the given region of | 404 Return the navigation information associated with the given region of |
| 389 the given file. If the navigation information for the given file has | 405 the given file. If the navigation information for the given file has |
| 390 not yet been computed, or the most recently computed navigation | 406 not yet been computed, or the most recently computed navigation |
| 391 information for the given file is out of date, then the response for | 407 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 | 408 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 | 409 content of the file changes after this request was received but before |
| 394 a response could be sent, then an error of type | 410 a response could be sent, then an error of type |
| (...skipping 3349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3744 <h2>Errors</h2> | 3760 <h2>Errors</h2> |
| 3745 <p> | 3761 <p> |
| 3746 This section contains a list of all of the errors that are | 3762 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. | 3763 produced by the server and the data that is returned with each. |
| 3748 </p> | 3764 </p> |
| 3749 <p> | 3765 <p> |
| 3750 TBD | 3766 TBD |
| 3751 </p> | 3767 </p> |
| 3752 </body> | 3768 </body> |
| 3753 </html> | 3769 </html> |
| OLD | NEW |