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

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: 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 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after
1679 "<b>optionsProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refacto ringProblem</a>&gt; 1679 "<b>optionsProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refacto ringProblem</a>&gt;
1680 "<b>finalProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refactori ngProblem</a>&gt; 1680 "<b>finalProblems</b>": List&lt;<a href="#type_RefactoringProblem">Refactori ngProblem</a>&gt;
1681 "<b>feedback</b>": <span style="color:#999999">optional</span> <a href="#typ e_RefactoringFeedback">RefactoringFeedback</a> 1681 "<b>feedback</b>": <span style="color:#999999">optional</span> <a href="#typ e_RefactoringFeedback">RefactoringFeedback</a>
1682 "<b>change</b>": <span style="color:#999999">optional</span> <a href="#type_ SourceChange">SourceChange</a> 1682 "<b>change</b>": <span style="color:#999999">optional</span> <a href="#type_ SourceChange">SourceChange</a>
1683 "<b>potentialEdits</b>": <span style="color:#999999">optional</span> List&lt ;String&gt; 1683 "<b>potentialEdits</b>": <span style="color:#999999">optional</span> List&lt ;String&gt;
1684 } 1684 }
1685 }</pre></div> 1685 }</pre></div>
1686 <p> 1686 <p>
1687 Get the changes required to perform a refactoring. 1687 Get the changes required to perform a refactoring.
1688 </p> 1688 </p>
1689 <p>
1690 If another refactoring request is received during the processing
1691 of this one, an error of type <tt>REFACTORING_REQUEST_CANCELLED</tt>
1692 will be generated.
1693 </p>
1689 1694
1690 1695
1691 <h4>Parameters</h4><dl><dt class="field"><b><i>kind ( <a href="#type_Refac toringKind">RefactoringKind</a> )</i></b></dt><dd> 1696 <h4>Parameters</h4><dl><dt class="field"><b><i>kind ( <a href="#type_Refac toringKind">RefactoringKind</a> )</i></b></dt><dd>
1692 1697
1693 <p> 1698 <p>
1694 The kind of refactoring to be performed. 1699 The kind of refactoring to be performed.
1695 </p> 1700 </p>
1696 </dd><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath< /a> )</i></b></dt><dd> 1701 </dd><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath< /a> )</i></b></dt><dd>
1697 1702
1698 <p> 1703 <p>
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
3048 </dd><dt class="value">INVALID_PARAMETER</dt><dd> 3053 </dd><dt class="value">INVALID_PARAMETER</dt><dd>
3049 3054
3050 <p> 3055 <p>
3051 One of the method parameters was invalid. 3056 One of the method parameters was invalid.
3052 </p> 3057 </p>
3053 </dd><dt class="value">INVALID_REQUEST</dt><dd> 3058 </dd><dt class="value">INVALID_REQUEST</dt><dd>
3054 3059
3055 <p> 3060 <p>
3056 A malformed request was received. 3061 A malformed request was received.
3057 </p> 3062 </p>
3063 </dd><dt class="value">REFACTORING_REQUEST_CANCELLED</dt><dd>
3064
3065 <p>
3066 Another refactoring request was received during processing of
3067 this one.
3068 </p>
3058 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd> 3069 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd>
3059 3070
3060 <p> 3071 <p>
3061 The analysis server has already been started (and hence 3072 The analysis server has already been started (and hence
3062 won't accept new connections). 3073 won't accept new connections).
3063 </p> 3074 </p>
3064 <p> 3075 <p>
3065 This error is included for future expansion; at present 3076 This error is included for future expansion; at present
3066 the analysis server can only speak to one client at a 3077 the analysis server can only speak to one client at a
3067 time so this error will never occur. 3078 time so this error will never occur.
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
3659 <p> 3670 <p>
3660 This section contains a list of all of the errors that are 3671 This section contains a list of all of the errors that are
3661 produced by the server and the data that is returned with each. 3672 produced by the server and the data that is returned with each.
3662 </p> 3673 </p>
3663 <p> 3674 <p>
3664 TBD 3675 TBD
3665 </p> 3676 </p>
3666 3677
3667 3678
3668 </body></html> 3679 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698