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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 868893003: update analysis server spec and regen files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/generated_protocol.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 </p> 731 </p>
732 </dd></dl></dd><dt class="request">analysis.updateContent</dt><dd><div class="box"><pre>request: { 732 </dd></dl></dd><dt class="request">analysis.updateContent</dt><dd><div class="box"><pre>request: {
733 "id": String 733 "id": String
734 "method": "analysis.updateContent" 734 "method": "analysis.updateContent"
735 "params": { 735 "params": {
736 "<b>files</b>": Map&lt;<a href="#type_FilePath">FilePath</a>, <a href="#type _AddContentOverlay">AddContentOverlay</a> | <a href="#type_ChangeContentOverlay" >ChangeContentOverlay</a> | <a href="#type_RemoveContentOverlay">RemoveContentOv erlay</a>&gt; 736 "<b>files</b>": Map&lt;<a href="#type_FilePath">FilePath</a>, <a href="#type _AddContentOverlay">AddContentOverlay</a> | <a href="#type_ChangeContentOverlay" >ChangeContentOverlay</a> | <a href="#type_RemoveContentOverlay">RemoveContentOv erlay</a>&gt;
737 } 737 }
738 }</pre><br><pre>response: { 738 }</pre><br><pre>response: {
739 "id": String 739 "id": String
740 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a> 740 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a>
741 "result": {
742 }
741 }</pre></div> 743 }</pre></div>
742 <p> 744 <p>
743 Update the content of one or more files. Files that were 745 Update the content of one or more files. Files that were
744 previously updated but not included in this update remain 746 previously updated but not included in this update remain
745 unchanged. This effectively represents an overlay of the 747 unchanged. This effectively represents an overlay of the
746 filesystem. The files whose content is overridden are 748 filesystem. The files whose content is overridden are
747 therefore seen by server as being files with the given 749 therefore seen by server as being files with the given
748 content, even if the files do not exist on the filesystem or 750 content, even if the files do not exist on the filesystem or
749 if the file path represents the path to a directory on the 751 if the file path represents the path to a directory on the
750 filesystem. 752 filesystem.
751 </p> 753 </p>
752 754
755
753 <h4>Parameters</h4><dl><dt class="field"><b><i>files ( Map&lt;<a href="#ty pe_FilePath">FilePath</a>, <a href="#type_AddContentOverlay">AddContentOverlay</ a> | <a href="#type_ChangeContentOverlay">ChangeContentOverlay</a> | <a href="#t ype_RemoveContentOverlay">RemoveContentOverlay</a>&gt; )</i></b></dt><dd> 756 <h4>Parameters</h4><dl><dt class="field"><b><i>files ( Map&lt;<a href="#ty pe_FilePath">FilePath</a>, <a href="#type_AddContentOverlay">AddContentOverlay</ a> | <a href="#type_ChangeContentOverlay">ChangeContentOverlay</a> | <a href="#t ype_RemoveContentOverlay">RemoveContentOverlay</a>&gt; )</i></b></dt><dd>
754 757
755 <p> 758 <p>
756 A table mapping the files whose content has changed to a 759 A table mapping the files whose content has changed to a
757 description of the content change. 760 description of the content change.
758 </p> 761 </p>
759 </dd></dl></dd><dt class="request">analysis.updateOptions</dt><dd><div class="box"><pre>request: { 762 </dd></dl><h4>Returns</h4><dl></dl></dd><dt class="request">analysis.u pdateOptions</dt><dd><div class="box"><pre>request: {
760 "id": String 763 "id": String
761 "method": "analysis.updateOptions" 764 "method": "analysis.updateOptions"
762 "params": { 765 "params": {
763 "<b>options</b>": <a href="#type_AnalysisOptions">AnalysisOptions</a> 766 "<b>options</b>": <a href="#type_AnalysisOptions">AnalysisOptions</a>
764 } 767 }
765 }</pre><br><pre>response: { 768 }</pre><br><pre>response: {
766 "id": String 769 "id": String
767 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a> 770 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr or">RequestError</a>
768 }</pre></div> 771 }</pre></div>
769 <p> 772 <p>
(...skipping 2877 matching lines...) Expand 10 before | Expand all | Expand 10 after
3647 <p> 3650 <p>
3648 This section contains a list of all of the errors that are 3651 This section contains a list of all of the errors that are
3649 produced by the server and the data that is returned with each. 3652 produced by the server and the data that is returned with each.
3650 </p> 3653 </p>
3651 <p> 3654 <p>
3652 TBD 3655 TBD
3653 </p> 3656 </p>
3654 3657
3655 3658
3656 </body></html> 3659 </body></html>
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/generated_protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698