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

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

Issue 537733002: Use typed RefactoringOptions in the Dart version of the protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update also Java generator Created 6 years, 3 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 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 </p> 1201 </p>
1202 </field> 1202 </field>
1203 <field name="validateOnly"> 1203 <field name="validateOnly">
1204 <ref>bool</ref> 1204 <ref>bool</ref>
1205 <p> 1205 <p>
1206 True if the client is only requesting that the values of 1206 True if the client is only requesting that the values of
1207 the options be validated and no change be generated. 1207 the options be validated and no change be generated.
1208 </p> 1208 </p>
1209 </field> 1209 </field>
1210 <field name="options" optional="true"> 1210 <field name="options" optional="true">
1211 <ref>object</ref> 1211 <ref>RefactoringOptions</ref>
1212 <p> 1212 <p>
1213 Data used to provide values provided by the user. The 1213 Data used to provide values provided by the user. The
1214 structure of the data is dependent on the kind of 1214 structure of the data is dependent on the kind of
1215 refactoring being performed. The data that is expected is 1215 refactoring being performed. The data that is expected is
1216 documented in the section titled <a 1216 documented in the section titled <a
1217 href="#refactorings">Refactorings</a>, labeled as 1217 href="#refactorings">Refactorings</a>, labeled as
1218 “Options”. This field can be omitted if the refactoring 1218 “Options”. This field can be omitted if the refactoring
1219 does not require any options or if the values of those 1219 does not require any options or if the values of those
1220 options are not known. 1220 options are not known.
1221 </p> 1221 </p>
(...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2480 <ref>String</ref> 2480 <ref>String</ref>
2481 <p> 2481 <p>
2482 The parameter list of the parameter's function type. 2482 The parameter list of the parameter's function type.
2483 If the parameter is not of a function type, this field will 2483 If the parameter is not of a function type, this field will
2484 not be defined. If the function type has zero parameters, this 2484 not be defined. If the function type has zero parameters, this
2485 field will have a value of "()". 2485 field will have a value of "()".
2486 </p> 2486 </p>
2487 </field> 2487 </field>
2488 </object> 2488 </object>
2489 </type> 2489 </type>
2490 <type name="RefactoringOptions">
2491 <p>
2492 An abstract superclass of all refactoring options.
2493 </p>
2494 <object>
2495 </object>
2496 </type>
2490 <type name="RefactoringMethodParameterKind"> 2497 <type name="RefactoringMethodParameterKind">
2491 <p> 2498 <p>
2492 An enumeration of the kinds of parameters. 2499 An enumeration of the kinds of parameters.
2493 </p> 2500 </p>
2494 <enum> 2501 <enum>
2495 <value><code>REQUIRED</code></value> 2502 <value><code>REQUIRED</code></value>
2496 <value><code>POSITIONAL</code></value> 2503 <value><code>POSITIONAL</code></value>
2497 <value><code>NAMED</code></value> 2504 <value><code>NAMED</code></value>
2498 </enum> 2505 </enum>
2499 </type> 2506 </type>
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
3191 <h2>Errors</h2> 3198 <h2>Errors</h2>
3192 <p> 3199 <p>
3193 This section contains a list of all of the errors that are 3200 This section contains a list of all of the errors that are
3194 produced by the server and the data that is returned with each. 3201 produced by the server and the data that is returned with each.
3195 </p> 3202 </p>
3196 <p> 3203 <p>
3197 TBD 3204 TBD
3198 </p> 3205 </p>
3199 </body> 3206 </body>
3200 </html> 3207 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698