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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 1232683003: Issue 23640. Implement 'analysis.getNavigation' request. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index 6347f46f4c3154a4990245ac4b5927711ea3aee1..994dd4905f0bf13343b0ee8093d84f877f694f42 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -441,6 +441,13 @@
always choosing a region that starts at the beginning of a line and
ends at the end of a (possibly different) line in the file.
</p>
+ <p>
+ 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
+ <tt>GET_NAVIGATION_INVALID_FILE</tt> will be generated.
+ </p>
<params>
<field name="file">
<ref>FilePath</ref>
@@ -3181,6 +3188,14 @@
</p>
</value>
<value>
+ <code>GET_NAVIGATION_INVALID_FILE</code>
+ <p>
+ An "analysis.getErrors" request specified a FilePath
devoncarew 2015/07/14 16:34:35 DBC: This looks like a copy/paste issue - this sho
scheglov 2015/07/21 15:05:53 Thanks! https://codereview.chromium.org/1243073004
+ which does not match a file currently subject to
+ analysis.
+ </p>
+ </value>
+ <value>
<code>INVALID_ANALYSIS_ROOT</code>
<p>
A path passed as an argument to a request (such as

Powered by Google App Engine
This is Rietveld 408576698