Issue 23640. Implement 'analysis.getNavigation' request.

R=brianwilkerson@google.com
BUG= https://github.com/dart-lang/sdk/issues/23640

Review URL: https://codereview.chromium.org//1232683003 .
This commit is contained in:
Konstantin Shcheglov
2015-07-10 15:31:25 -07:00
parent 4da11ef37f
commit d7c2f4550b
14 changed files with 301 additions and 188 deletions
@@ -105,6 +105,10 @@ public interface AnalysisServer {
* choosing a region that starts at the beginning of a line and ends at the end of a (possibly
* different) line in the 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_NAVIGATION_INVALID_FILE will be generated.
*
* @param file The file in which navigation information is being requested.
* @param offset The offset of the region for which navigation information is being requested.
* @param length The length of the region for which navigation information is being requested.