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

Unified Diff: pkg/analysis_server/doc/api.html

Issue 896513002: Specify mapUri for directories (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address more cases Created 5 years, 11 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/doc/api.html
diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html
index df181453d3e7565f5be1416cfa2f9f63296dd2a4..b7bec3138041acd2c822148fa7595ad1ccc4ccc1 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -493,8 +493,8 @@ dt.typeDefinition {
</dd><dt class="field"><b><i>packageMap ( Map&lt;String, Map&lt;String, List&lt;<a href="#type_FilePath">FilePath</a>&gt;&gt;&gt; )</i></b></dt><dd>
<p>
- A mapping from context source roots to package maps which map
- package names to source directories for use in client-side
+ A mapping from context source roots to package maps which map
+ package names to source directories for use in client-side
package URI resolution.
</p>
</dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><div class="box"><pre>request: {
@@ -1920,6 +1920,24 @@ dt.typeDefinition {
<p>
Exactly one of the file and uri fields must be provided.
</p>
+ <p>
+ If the file field is provided and the value is not the path of a file
+ (either the file does not exist or the path references something other
+ than a file), then an error of type <tt>MAP_URI_INVALID_FILE</tt> will
+ be generated.
+ </p>
+ <p>
+ If the uri field is provided and the value is not a valid URI or if
+ the URI references something that is not a file (either a file that
+ does not exist or something other than a file), then an error of type
+ <tt>MAP_URI_INVALID_URI</tt> will be generated.
+ </p>
+ <p>
+ If the contextRoot used to create the execution context is not a file
+ (either the file does not exist or the path references something other
+ than a file), then an error of type <tt>INVALID_EXECUTION_CONTEXT</tt>
+ will be generated.
+ </p>
<h4>Parameters</h4><dl><dt class="field"><b><i>id ( <a href="#type_ExecutionContextId">ExecutionContextId</a> )</i></b></dt><dd>

Powered by Google App Engine
This is Rietveld 408576698