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

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

Issue 884453002: Issue 22157. Cancel a pending refactoring request on receiving a new one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for review comments. 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 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 "<b>optionsProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refacto ringProblem</a>&gt; 1687 "<b>optionsProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refacto ringProblem</a>&gt;
1688 "<b>finalProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refactori ngProblem</a>&gt; 1688 "<b>finalProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refactori ngProblem</a>&gt;
1689 "<b>feedback</b>": <span style="color:#999999">optional</span> <a href="#typ e_RefactoringFeedback">RefactoringFeedback</a> 1689 "<b>feedback</b>": <span style="color:#999999">optional</span> <a href="#typ e_RefactoringFeedback">RefactoringFeedback</a>
1690 "<b>change</b>": <span style="color:#999999">optional</span> <a href="#type_ SourceChange">SourceChange</a> 1690 "<b>change</b>": <span style="color:#999999">optional</span> <a href="#type_ SourceChange">SourceChange</a>
1691 "<b>potentialEdits</b>": <span style="color:#999999">optional</span> List&lt ;String&gt; 1691 "<b>potentialEdits</b>": <span style="color:#999999">optional</span> List&lt ;String&gt;
1692 } 1692 }
1693 }</pre></div> 1693 }</pre></div>
1694 <p> 1694 <p>
1695 Get the changes required to perform a refactoring. 1695 Get the changes required to perform a refactoring.
1696 </p> 1696 </p>
1697 <p>
1698 If another refactoring request is received during the processing
1699 of this one, an error of type <tt>REFACTORING_REQUEST_CANCELLED</tt>
1700 will be generated.
1701 </p>
1697 1702
1698 1703
1699 <h4>Parameters</h4><dl><dt class="field"><b><i>kind ( <a href="#type_Refac toringKind">RefactoringKind</a> )</i></b></dt><dd> 1704 <h4>Parameters</h4><dl><dt class="field"><b><i>kind ( <a href="#type_Refac toringKind">RefactoringKind</a> )</i></b></dt><dd>
1700 1705
1701 <p> 1706 <p>
1702 The kind of refactoring to be performed. 1707 The kind of refactoring to be performed.
1703 </p> 1708 </p>
1704 </dd><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath< /a> )</i></b></dt><dd> 1709 </dd><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath< /a> )</i></b></dt><dd>
1705 1710
1706 <p> 1711 <p>
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
3056 </dd><dt class="value">INVALID_PARAMETER</dt><dd> 3061 </dd><dt class="value">INVALID_PARAMETER</dt><dd>
3057 3062
3058 <p> 3063 <p>
3059 One of the method parameters was invalid. 3064 One of the method parameters was invalid.
3060 </p> 3065 </p>
3061 </dd><dt class="value">INVALID_REQUEST</dt><dd> 3066 </dd><dt class="value">INVALID_REQUEST</dt><dd>
3062 3067
3063 <p> 3068 <p>
3064 A malformed request was received. 3069 A malformed request was received.
3065 </p> 3070 </p>
3071 </dd><dt class="value">REFACTORING_REQUEST_CANCELLED</dt><dd>
3072
3073 <p>
3074 Another refactoring request was received during processing of
3075 this one.
3076 </p>
3066 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd> 3077 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd>
3067 3078
3068 <p> 3079 <p>
3069 The analysis server has already been started (and hence 3080 The analysis server has already been started (and hence
3070 won't accept new connections). 3081 won't accept new connections).
3071 </p> 3082 </p>
3072 <p> 3083 <p>
3073 This error is included for future expansion; at present 3084 This error is included for future expansion; at present
3074 the analysis server can only speak to one client at a 3085 the analysis server can only speak to one client at a
3075 time so this error will never occur. 3086 time so this error will never occur.
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
3667 <p> 3678 <p>
3668 This section contains a list of all of the errors that are 3679 This section contains a list of all of the errors that are
3669 produced by the server and the data that is returned with each. 3680 produced by the server and the data that is returned with each.
3670 </p> 3681 </p>
3671 <p> 3682 <p>
3672 TBD 3683 TBD
3673 </p> 3684 </p>
3674 3685
3675 3686
3676 </body></html> 3687 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698