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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 604333002: Specify when 'sortMembers' will return an error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Specify the specific error codes Created 6 years, 2 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/integration/protocol_matchers.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 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 potential edits for the refactoring. 1283 potential edits for the refactoring.
1284 </p> 1284 </p>
1285 </field> 1285 </field>
1286 </result> 1286 </result>
1287 </request> 1287 </request>
1288 <request method="sortMembers"> 1288 <request method="sortMembers">
1289 <p> 1289 <p>
1290 Sort all of the directives, unit and class members 1290 Sort all of the directives, unit and class members
1291 of the given Dart file. 1291 of the given Dart file.
1292 </p> 1292 </p>
1293 <p>
1294 If a request is made for a file that does not exist, does not belong
1295 to an analysis root or is not a Dart file,
1296 <tt>SORT_MEMBERS_INVALID_FILE</tt> will be generated.
1297 </p>
1298 <p>
1299 If the Dart file has scan or parse errors,
1300 <tt>SORT_MEMBERS_PARSE_ERRORS</tt> will be generated.
1301 </p>
1293 <params> 1302 <params>
1294 <field name="file"> 1303 <field name="file">
1295 <ref>FilePath</ref> 1304 <ref>FilePath</ref>
1296 <p> 1305 <p>
1297 The Dart file to sort. 1306 The Dart file to sort.
1298 </p> 1307 </p>
1299 </field> 1308 </field>
1300 </params> 1309 </params>
1301 <result> 1310 <result>
1302 <field name="edit"> 1311 <field name="edit">
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
2689 </p> 2698 </p>
2690 </value> 2699 </value>
2691 <value> 2700 <value>
2692 <code>SERVER_ERROR</code> 2701 <code>SERVER_ERROR</code>
2693 <p> 2702 <p>
2694 An internal error occurred in the analysis server. 2703 An internal error occurred in the analysis server.
2695 Also see the server.error notification. 2704 Also see the server.error notification.
2696 </p> 2705 </p>
2697 </value> 2706 </value>
2698 <value> 2707 <value>
2708 <code>SORT_MEMBERS_INVALID_FILE</code>
2709 <p>
2710 An "edit.sortMembers" request specified a FilePath
2711 which does not match a Dart file in an analysis root.
2712 </p>
2713 </value>
2714 <value>
2715 <code>SORT_MEMBERS_PARSE_ERRORS</code>
2716 <p>
2717 An "edit.sortMembers" request specified a Dart file that has
2718 scan or parse errors.
2719 </p>
2720 </value>
2721 <value>
2699 <code>UNANALYZED_PRIORITY_FILES</code> 2722 <code>UNANALYZED_PRIORITY_FILES</code>
2700 <p> 2723 <p>
2701 An "analysis.setPriorityFiles" request includes one or 2724 An "analysis.setPriorityFiles" request includes one or
2702 more files that are not being analyzed. 2725 more files that are not being analyzed.
2703 </p> 2726 </p>
2704 <p> 2727 <p>
2705 This is a legacy error; it will be removed before the 2728 This is a legacy error; it will be removed before the
2706 API reaches version 1.0. 2729 API reaches version 1.0.
2707 </p> 2730 </p>
2708 <!-- TODO(paulberry): remove this error and the code that 2731 <!-- TODO(paulberry): remove this error and the code that
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
3362 <h2>Errors</h2> 3385 <h2>Errors</h2>
3363 <p> 3386 <p>
3364 This section contains a list of all of the errors that are 3387 This section contains a list of all of the errors that are
3365 produced by the server and the data that is returned with each. 3388 produced by the server and the data that is returned with each.
3366 </p> 3389 </p>
3367 <p> 3390 <p>
3368 TBD 3391 TBD
3369 </p> 3392 </p>
3370 </body> 3393 </body>
3371 </html> 3394 </html>
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/integration/protocol_matchers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698