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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.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, 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 | « pkg/analysis_server/test/mocks.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <meta charset="UTF-8"/> 3 <meta charset="UTF-8"/>
4 <title>Analysis Server API Specification</title> 4 <title>Analysis Server API Specification</title>
5 </head> 5 </head>
6 <body> 6 <body>
7 <h1>Analysis Server API Specification</h1> 7 <h1>Analysis Server API Specification</h1>
8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 > 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 >
9 <p> 9 <p>
10 This document contains a specification of the API provided by 10 This document contains a specification of the API provided by
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 <p> 1446 <p>
1447 The fixes that are available for the errors at the given offset. 1447 The fixes that are available for the errors at the given offset.
1448 </p> 1448 </p>
1449 </field> 1449 </field>
1450 </result> 1450 </result>
1451 </request> 1451 </request>
1452 <request method="getRefactoring"> 1452 <request method="getRefactoring">
1453 <p> 1453 <p>
1454 Get the changes required to perform a refactoring. 1454 Get the changes required to perform a refactoring.
1455 </p> 1455 </p>
1456 <p>
1457 If another refactoring request is received during the processing
1458 of this one, an error of type <tt>REFACTORING_REQUEST_CANCELLED</tt>
1459 will be generated.
1460 </p>
1456 <params> 1461 <params>
1457 <field name="kind"> 1462 <field name="kind">
1458 <ref>RefactoringKind</ref> 1463 <ref>RefactoringKind</ref>
1459 <p> 1464 <p>
1460 The kind of refactoring to be performed. 1465 The kind of refactoring to be performed.
1461 </p> 1466 </p>
1462 </field> 1467 </field>
1463 <field name="file"> 1468 <field name="file">
1464 <ref>FilePath</ref> 1469 <ref>FilePath</ref>
1465 <p> 1470 <p>
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after
3054 One of the method parameters was invalid. 3059 One of the method parameters was invalid.
3055 </p> 3060 </p>
3056 </value> 3061 </value>
3057 <value> 3062 <value>
3058 <code>INVALID_REQUEST</code> 3063 <code>INVALID_REQUEST</code>
3059 <p> 3064 <p>
3060 A malformed request was received. 3065 A malformed request was received.
3061 </p> 3066 </p>
3062 </value> 3067 </value>
3063 <value> 3068 <value>
3069 <code>REFACTORING_REQUEST_CANCELLED</code>
3070 <p>
3071 Another refactoring request was received during processing of
3072 this one.
3073 </p>
3074 </value>
3075 <value>
3064 <code>SERVER_ALREADY_STARTED</code> 3076 <code>SERVER_ALREADY_STARTED</code>
3065 <p> 3077 <p>
3066 The analysis server has already been started (and hence 3078 The analysis server has already been started (and hence
3067 won't accept new connections). 3079 won't accept new connections).
3068 </p> 3080 </p>
3069 <p> 3081 <p>
3070 This error is included for future expansion; at present 3082 This error is included for future expansion; at present
3071 the analysis server can only speak to one client at a 3083 the analysis server can only speak to one client at a
3072 time so this error will never occur. 3084 time so this error will never occur.
3073 </p> 3085 </p>
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
3760 <h2>Errors</h2> 3772 <h2>Errors</h2>
3761 <p> 3773 <p>
3762 This section contains a list of all of the errors that are 3774 This section contains a list of all of the errors that are
3763 produced by the server and the data that is returned with each. 3775 produced by the server and the data that is returned with each.
3764 </p> 3776 </p>
3765 <p> 3777 <p>
3766 TBD 3778 TBD
3767 </p> 3779 </p>
3768 </body> 3780 </body>
3769 </html> 3781 </html>
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/mocks.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698