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

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: 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
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 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 <p> 1430 <p>
1431 The fixes that are available for the errors at the given offset. 1431 The fixes that are available for the errors at the given offset.
1432 </p> 1432 </p>
1433 </field> 1433 </field>
1434 </result> 1434 </result>
1435 </request> 1435 </request>
1436 <request method="getRefactoring"> 1436 <request method="getRefactoring">
1437 <p> 1437 <p>
1438 Get the changes required to perform a refactoring. 1438 Get the changes required to perform a refactoring.
1439 </p> 1439 </p>
1440 <p>
1441 If another refactoring request is received during the processing
1442 of this one, an error of type <tt>REFACTORING_REQUEST_CANCELLED</tt>
1443 will be generated.
1444 </p>
1440 <params> 1445 <params>
1441 <field name="kind"> 1446 <field name="kind">
1442 <ref>RefactoringKind</ref> 1447 <ref>RefactoringKind</ref>
1443 <p> 1448 <p>
1444 The kind of refactoring to be performed. 1449 The kind of refactoring to be performed.
1445 </p> 1450 </p>
1446 </field> 1451 </field>
1447 <field name="file"> 1452 <field name="file">
1448 <ref>FilePath</ref> 1453 <ref>FilePath</ref>
1449 <p> 1454 <p>
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after
3038 One of the method parameters was invalid. 3043 One of the method parameters was invalid.
3039 </p> 3044 </p>
3040 </value> 3045 </value>
3041 <value> 3046 <value>
3042 <code>INVALID_REQUEST</code> 3047 <code>INVALID_REQUEST</code>
3043 <p> 3048 <p>
3044 A malformed request was received. 3049 A malformed request was received.
3045 </p> 3050 </p>
3046 </value> 3051 </value>
3047 <value> 3052 <value>
3053 <code>REFACTORING_REQUEST_CANCELLED</code>
3054 <p>
3055 Another refactoring request was received during processing of
3056 this one.
3057 </p>
3058 </value>
3059 <value>
3048 <code>SERVER_ALREADY_STARTED</code> 3060 <code>SERVER_ALREADY_STARTED</code>
3049 <p> 3061 <p>
3050 The analysis server has already been started (and hence 3062 The analysis server has already been started (and hence
3051 won't accept new connections). 3063 won't accept new connections).
3052 </p> 3064 </p>
3053 <p> 3065 <p>
3054 This error is included for future expansion; at present 3066 This error is included for future expansion; at present
3055 the analysis server can only speak to one client at a 3067 the analysis server can only speak to one client at a
3056 time so this error will never occur. 3068 time so this error will never occur.
3057 </p> 3069 </p>
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
3744 <h2>Errors</h2> 3756 <h2>Errors</h2>
3745 <p> 3757 <p>
3746 This section contains a list of all of the errors that are 3758 This section contains a list of all of the errors that are
3747 produced by the server and the data that is returned with each. 3759 produced by the server and the data that is returned with each.
3748 </p> 3760 </p>
3749 <p> 3761 <p>
3750 TBD 3762 TBD
3751 </p> 3763 </p>
3752 </body> 3764 </body>
3753 </html> 3765 </html>
OLDNEW
« pkg/analysis_server/lib/src/edit/edit_domain.dart ('K') | « pkg/analysis_server/test/mocks.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698