diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html index ed9e5b4672e..39bddba576d 100644 --- a/pkg/analysis_server/doc/api.html +++ b/pkg/analysis_server/doc/api.html @@ -243,9 +243,9 @@ a:focus, a:hover {
request: {
@@ -641,51 +642,6 @@ a:focus, a:hover {
in multiple contexts in conflicting ways (such as a
part that is included in multiple libraries).
- request: {
- "id": String
- "method": "analysis.getReachableSources"
- "params": {
- "file": FilePath
- }
-}response: {
- "id": String
- "error": optional RequestError
- "result": {
- "sources": Map<String, List<String>>
- }
-}- Return the transitive closure of reachable sources for a given file. -
-- If a request is made for a file which does not exist, or - which is not currently subject to analysis (e.g. because it - is not associated with any analysis root specified to - analysis.setAnalysisRoots), an error of type - GET_REACHABLE_SOURCES_INVALID_FILE will be generated. -
- - -- The file for which reachable source information is being requested. -
-- A mapping from source URIs to directly reachable source URIs. For - example, - a file "foo.dart" that imports "bar.dart" would have the corresponding - mapping - { "file:///foo.dart" : ["file:///bar.dart"] }. If "bar.dart" has - further imports - (or exports) there will be a mapping from the URI "file:///bar.dart" - to them. - To check if a specific URI is reachable from a given file, clients can - check - for its presence in the resulting key set. -
request: {
"id": String
"method": "analysis.getLibraryDependencies"
@@ -798,6 +754,51 @@ a:focus, a:hover {
A list of the navigation regions within the requested region of
the file.
+ request: {
+ "id": String
+ "method": "analysis.getReachableSources"
+ "params": {
+ "file": FilePath
+ }
+}response: {
+ "id": String
+ "error": optional RequestError
+ "result": {
+ "sources": Map<String, List<String>>
+ }
+}+ Return the transitive closure of reachable sources for a given file. +
++ If a request is made for a file which does not exist, or + which is not currently subject to analysis (e.g. because it + is not associated with any analysis root specified to + analysis.setAnalysisRoots), an error of type + GET_REACHABLE_SOURCES_INVALID_FILE will be generated. +
+ + ++ The file for which reachable source information is being requested. +
++ A mapping from source URIs to directly reachable source URIs. For + example, + a file "foo.dart" that imports "bar.dart" would have the corresponding + mapping + { "file:///foo.dart" : ["file:///bar.dart"] }. If "bar.dart" has + further imports + (or exports) there will be a mapping from the URI "file:///bar.dart" + to them. + To check if a specific URI is reachable from a given file, clients can + check + for its presence in the resulting key set. +
request: {
"id": String
"method": "analysis.reanalyze"
@@ -1840,6 +1841,7 @@ a:focus, a:hover {
+
Requests
request: {
"id": String
"method": "edit.format"
@@ -2528,6 +2530,7 @@ a:focus, a:hover {
+
The length of the name of the implemented member.
++ A description of the elements that are referenced in a region of a file + that come from a single imported library. +
+ ++ The absolute and normalized path of the file containing the library. +
++ The URI that was used when importing the library into the original + source. +
++ The prefix that was used when importing the library into the original + source. +
++ The names of the elements imported from the library. +
A collection of positions that should be linked (edited simultaneously) @@ -3894,6 +3925,12 @@ a:focus, a:hover { which does not match a file currently subject to analysis.
++ An "analysis.getImportedElements" request specified a FilePath that + does not match a file currently subject to analysis. +
@@ -4582,7 +4619,7 @@ a:focus, a:hover { TODO: TBD