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

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

Issue 545323002: Add error condition INVALID_OVERLAY_CHANGE to analysis server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after
1877 <p> 1877 <p>
1878 The edits are applied in the order in which they occur in the list. 1878 The edits are applied in the order in which they occur in the list.
1879 This means that the offset of each edit must be correct under the 1879 This means that the offset of each edit must be correct under the
1880 assumption that all previous edits have been applied. 1880 assumption that all previous edits have been applied.
1881 </p> 1881 </p>
1882 <p> 1882 <p>
1883 It is an error to use this overlay on a file that does not yet have 1883 It is an error to use this overlay on a file that does not yet have
1884 a file content overlay or that has had its overlay removed via 1884 a file content overlay or that has had its overlay removed via
1885 <a href="#type_RemoveContentOverlay">RemoveContentOverlay</a>. 1885 <a href="#type_RemoveContentOverlay">RemoveContentOverlay</a>.
1886 </p> 1886 </p>
1887 <p>
1888 If any of the edits cannot be applied due to its offset or
1889 length being out of range, an INVALID_OVERLAY_CHANGE error
1890 will be reported.
1891 </p>
1887 1892
1888 <dl><dt class="field"><b><i>type = "change"</i></b></dt><dd></dd><dt class ="field"><b><i>edits ( List&lt;<a href="#type_SourceEdit">SourceEdit</a>&gt; )</ i></b></dt><dd> 1893 <dl><dt class="field"><b><i>type = "change"</i></b></dt><dd></dd><dt class ="field"><b><i>edits ( List&lt;<a href="#type_SourceEdit">SourceEdit</a>&gt; )</ i></b></dt><dd>
1889 1894
1890 <p> 1895 <p>
1891 The edits to be applied to the file. 1896 The edits to be applied to the file.
1892 </p> 1897 </p>
1893 </dd></dl></dd><dt class="typeDefinition"><a name="type_CompletionId"> CompletionId: String</a></dt><dd> 1898 </dd></dl></dd><dt class="typeDefinition"><a name="type_CompletionId"> CompletionId: String</a></dt><dd>
1894 1899
1895 <p> 1900 <p>
1896 An identifier used to associate completion results with a 1901 An identifier used to associate completion results with a
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
2597 execution of the server. 2602 execution of the server.
2598 </p> 2603 </p>
2599 2604
2600 <dl><dt class="value">GET_ERRORS_INVALID_FILE</dt><dd> 2605 <dl><dt class="value">GET_ERRORS_INVALID_FILE</dt><dd>
2601 2606
2602 <p> 2607 <p>
2603 An "analysis.getErrors" request specified a FilePath 2608 An "analysis.getErrors" request specified a FilePath
2604 which does not match a file currently subject to 2609 which does not match a file currently subject to
2605 analysis. 2610 analysis.
2606 </p> 2611 </p>
2612 </dd><dt class="value">INVALID_OVERLAY_CHANGE</dt><dd>
2613
2614 <p>
2615 An analysis.updateContent request contained a
2616 ChangeContentOverlay object which can't be applied, due
2617 to an edit having an offset or length that is out of
2618 range.
2619 </p>
2607 </dd><dt class="value">INVALID_PARAMETER</dt><dd> 2620 </dd><dt class="value">INVALID_PARAMETER</dt><dd>
2608 2621
2609 <p> 2622 <p>
2610 One of the method parameters was invalid. 2623 One of the method parameters was invalid.
2611 </p> 2624 </p>
2612 </dd><dt class="value">INVALID_REQUEST</dt><dd> 2625 </dd><dt class="value">INVALID_REQUEST</dt><dd>
2613 2626
2614 <p> 2627 <p>
2615 A malformed request was received. 2628 A malformed request was received.
2616 </p> 2629 </p>
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
3141 <p> 3154 <p>
3142 This section contains a list of all of the errors that are 3155 This section contains a list of all of the errors that are
3143 produced by the server and the data that is returned with each. 3156 produced by the server and the data that is returned with each.
3144 </p> 3157 </p>
3145 <p> 3158 <p>
3146 TBD 3159 TBD
3147 </p> 3160 </p>
3148 3161
3149 3162
3150 </body></html> 3163 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698