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

Side by Side 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: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html><head> 1 <html><head>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <title>Analysis Server API Specification</title> 3 <title>Analysis Server API Specification</title>
4 <style>body { 4 <style>body {
5 font-family: sans-serif, serif; 5 font-family: sans-serif, serif;
6 padding-left: 5%; 6 padding-left: 5%;
7 padding-right: 5%; 7 padding-right: 5%;
8 } 8 }
9 h1 { 9 h1 {
10 text-align: center; 10 text-align: center;
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 486
487 <h4>Returns</h4><dl><dt class="field"><b><i>libraries ( List&lt;<a href="# type_FilePath">FilePath</a>&gt; )</i></b></dt><dd> 487 <h4>Returns</h4><dl><dt class="field"><b><i>libraries ( List&lt;<a href="# type_FilePath">FilePath</a>&gt; )</i></b></dt><dd>
488 488
489 <p> 489 <p>
490 A list of the paths of library elements referenced by 490 A list of the paths of library elements referenced by
491 files in existing analysis roots. 491 files in existing analysis roots.
492 </p> 492 </p>
493 </dd><dt class="field"><b><i>packageMap ( Map&lt;String, Map&lt;Stri ng, List&lt;<a href="#type_FilePath">FilePath</a>&gt;&gt;&gt; )</i></b></dt><dd> 493 </dd><dt class="field"><b><i>packageMap ( Map&lt;String, Map&lt;Stri ng, List&lt;<a href="#type_FilePath">FilePath</a>&gt;&gt;&gt; )</i></b></dt><dd>
494 494
495 <p> 495 <p>
496 A mapping from context source roots to package maps which map 496 A mapping from context source roots to package maps which map
497 package names to source directories for use in client-side 497 package names to source directories for use in client-side
498 package URI resolution. 498 package URI resolution.
499 </p> 499 </p>
500 </dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><d iv class="box"><pre>request: { 500 </dd></dl></dd><dt class="request">analysis.getNavigation</dt><dd><d iv class="box"><pre>request: {
501 "id": String 501 "id": String
502 "method": "analysis.getNavigation" 502 "method": "analysis.getNavigation"
503 "params": { 503 "params": {
504 "<b>file</b>": <a href="#type_FilePath">FilePath</a> 504 "<b>file</b>": <a href="#type_FilePath">FilePath</a>
505 "<b>offset</b>": int 505 "<b>offset</b>": int
506 "<b>length</b>": int 506 "<b>length</b>": int
507 } 507 }
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1913 } 1913 }
1914 }</pre></div> 1914 }</pre></div>
1915 <p> 1915 <p>
1916 Map a URI from the execution context to the file that it corresponds 1916 Map a URI from the execution context to the file that it corresponds
1917 to, or map a file to the URI that it corresponds to in the execution 1917 to, or map a file to the URI that it corresponds to in the execution
1918 context. 1918 context.
1919 </p> 1919 </p>
1920 <p> 1920 <p>
1921 Exactly one of the file and uri fields must be provided. 1921 Exactly one of the file and uri fields must be provided.
1922 </p> 1922 </p>
1923 <p>
1924 If the root of the execution context is a directory rather than a
1925 file, then an error of type <tt>MAP_URI_FOR_DIRECTORY</tt> will be
1926 generated.
1927 </p>
1923 1928
1924 1929
1925 <h4>Parameters</h4><dl><dt class="field"><b><i>id ( <a href="#type_Executi onContextId">ExecutionContextId</a> )</i></b></dt><dd> 1930 <h4>Parameters</h4><dl><dt class="field"><b><i>id ( <a href="#type_Executi onContextId">ExecutionContextId</a> )</i></b></dt><dd>
1926 1931
1927 <p> 1932 <p>
1928 The identifier of the execution context in which the URI is to be 1933 The identifier of the execution context in which the URI is to be
1929 mapped. 1934 mapped.
1930 </p> 1935 </p>
1931 </dd><dt class="field"><b><i>file ( <span style="color:#999999">option al</span> <a href="#type_FilePath">FilePath</a> )</i></b></dt><dd> 1936 </dd><dt class="field"><b><i>file ( <span style="color:#999999">option al</span> <a href="#type_FilePath">FilePath</a> )</i></b></dt><dd>
1932 1937
(...skipping 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after
3679 <p> 3684 <p>
3680 This section contains a list of all of the errors that are 3685 This section contains a list of all of the errors that are
3681 produced by the server and the data that is returned with each. 3686 produced by the server and the data that is returned with each.
3682 </p> 3687 </p>
3683 <p> 3688 <p>
3684 TBD 3689 TBD
3685 </p> 3690 </p>
3686 3691
3687 3692
3688 </body></html> 3693 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698