OLD | NEW |
---|---|
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="UTF-8"/> | 4 <meta charset="UTF-8"/> |
5 <title>Analysis Server API Specification</title> | 5 <title>Analysis Server API Specification</title> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <h1>Analysis Server API Specification</h1> | 8 <h1>Analysis Server API Specification</h1> |
9 <h1 style="color:#999999">Version <version>1.12.0</version></h1> | 9 <h1 style="color:#999999">Version <version>1.12.0</version></h1> |
10 <p> | 10 <p> |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
388 The hover information associated with the | 388 The hover information associated with the |
389 location. The list will be empty if no information | 389 location. The list will be empty if no information |
390 could be determined for the location. The list can | 390 could be determined for the location. The list can |
391 contain multiple items if the file is being analyzed | 391 contain multiple items if the file is being analyzed |
392 in multiple contexts in conflicting ways (such as a | 392 in multiple contexts in conflicting ways (such as a |
393 part that is included in multiple libraries). | 393 part that is included in multiple libraries). |
394 </p> | 394 </p> |
395 </field> | 395 </field> |
396 </result> | 396 </result> |
397 </request> | 397 </request> |
398 <request method="getReachableSources"> | |
399 <p> | |
400 Return the transitive closure of reachable sources for a given file. | |
Brian Wilkerson
2015/12/02 01:56:27
This should return an error response if the file i
pquitslund
2015/12/02 16:40:23
Ah, yes. Good.
Updated!
| |
401 </p> | |
402 <params> | |
403 <field name="file"> | |
404 <ref>FilePath</ref> | |
405 <p> | |
406 The file for which reachable source information is being requested . | |
407 </p> | |
408 </field> | |
409 </params> | |
410 <result> | |
411 <field name="sources"> | |
412 <map> | |
413 <key><ref>String</ref></key> | |
414 <value><list>><ref>String</ref></list></value> | |
415 </map> | |
416 <p> | |
417 A mapping from source URIs to directly reachable source URIs. For example, | |
418 a file "foo.dart" that imports "bar.dart" would have the correspon ding mapping | |
419 { "file:///foo.dart" : ["file:///bar.dart"] }. If "bar.dart" has further imports | |
Brian Wilkerson
2015/12/02 01:56:27
The "If" implies to me that 'bar.dart' might not b
pquitslund
2015/12/02 16:40:23
Acknowledged.
| |
420 (or exports) there will be a mapping from the URI "file:///bar.dar t" to them. | |
421 To check if a specific URI is reachable from a given file, clients can check | |
422 for its presence in the resulting key set. | |
423 </p> | |
424 </field> | |
425 </result> | |
426 </request> | |
398 <request method="getLibraryDependencies"> | 427 <request method="getLibraryDependencies"> |
399 <p> | 428 <p> |
400 Return library dependency information for use in client-side indexing | 429 Return library dependency information for use in client-side indexing |
401 and package URI resolution. | 430 and package URI resolution. |
402 </p> | 431 </p> |
403 <p> | 432 <p> |
404 Clients that are only using the libraries field should consider using th e | 433 Clients that are only using the libraries field should consider using th e |
405 analyzedFiles notification instead. | 434 analyzedFiles notification instead. |
406 </p> | 435 </p> |
407 <result> | 436 <result> |
(...skipping 4022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4430 This section contains a list of all of the errors that are | 4459 This section contains a list of all of the errors that are |
4431 produced by the server and the data that is returned with each. | 4460 produced by the server and the data that is returned with each. |
4432 </p> | 4461 </p> |
4433 <p> | 4462 <p> |
4434 TBD | 4463 TBD |
4435 </p> | 4464 </p> |
4436 <h2 class="domain"><a name="index">Index</a></h2> | 4465 <h2 class="domain"><a name="index">Index</a></h2> |
4437 <index></index> | 4466 <index></index> |
4438 </body> | 4467 </body> |
4439 </html> | 4468 </html> |
OLD | NEW |