| OLD | NEW |
| 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 2478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2489 | 2489 |
| 2490 <p> | 2490 <p> |
| 2491 The offset of the position. | 2491 The offset of the position. |
| 2492 </p> | 2492 </p> |
| 2493 </dd></dl></dd><dt class="typeDefinition"><a name="type_RefactoringKin
d">RefactoringKind: String</a></dt><dd> | 2493 </dd></dl></dd><dt class="typeDefinition"><a name="type_RefactoringKin
d">RefactoringKind: String</a></dt><dd> |
| 2494 <p> | 2494 <p> |
| 2495 An enumeration of the kinds of refactorings that can be | 2495 An enumeration of the kinds of refactorings that can be |
| 2496 created. | 2496 created. |
| 2497 </p> | 2497 </p> |
| 2498 | 2498 |
| 2499 <dl><dt class="value">CONVERT_GETTER_TO_METHOD</dt><dt class="value">CONVE
RT_METHOD_TO_GETTER</dt><dt class="value">EXTRACT_LOCAL_VARIABLE</dt><dt class="
value">EXTRACT_METHOD</dt><dt class="value">INLINE_LOCAL_VARIABLE</dt><dt class=
"value">INLINE_METHOD</dt><dt class="value">MOVE_FILE</dt><dt class="value">RENA
ME</dt></dl></dd><dt class="typeDefinition"><a name="type_RefactoringMethodParam
eter">RefactoringMethodParameter: object</a></dt><dd> | 2499 <dl><dt class="value">CONVERT_GETTER_TO_METHOD</dt><dt class="value">CONVE
RT_METHOD_TO_GETTER</dt><dt class="value">EXTRACT_LOCAL_VARIABLE</dt><dt class="
value">EXTRACT_METHOD</dt><dt class="value">INLINE_LOCAL_VARIABLE</dt><dt class=
"value">INLINE_METHOD</dt><dt class="value">MOVE_FILE</dt><dt class="value">RENA
ME</dt><dt class="value">SORT_MEMBERS</dt></dl></dd><dt class="typeDefinition"><
a name="type_RefactoringMethodParameter">RefactoringMethodParameter: object</a><
/dt><dd> |
| 2500 <p> | 2500 <p> |
| 2501 A description of a parameter in a method refactoring. | 2501 A description of a parameter in a method refactoring. |
| 2502 </p> | 2502 </p> |
| 2503 | 2503 |
| 2504 <dl><dt class="field"><b><i>id ( <span style="color:#999999">optional</spa
n> String )</i></b></dt><dd> | 2504 <dl><dt class="field"><b><i>id ( <span style="color:#999999">optional</spa
n> String )</i></b></dt><dd> |
| 2505 | 2505 |
| 2506 <p> | 2506 <p> |
| 2507 The unique identifier of the parameter. | 2507 The unique identifier of the parameter. |
| 2508 Clients may omit this field for the parameters they want to add. | 2508 Clients may omit this field for the parameters they want to add. |
| 2509 </p> | 2509 </p> |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2927 and the options that may be provided to edit.getRefactoring. | 2927 and the options that may be provided to edit.getRefactoring. |
| 2928 </p> | 2928 </p> |
| 2929 | 2929 |
| 2930 | 2930 |
| 2931 | 2931 |
| 2932 | 2932 |
| 2933 | 2933 |
| 2934 | 2934 |
| 2935 | 2935 |
| 2936 | 2936 |
| 2937 |
| 2937 <dl><dt class="refactoring">CONVERT_GETTER_TO_METHOD</dt><dd> | 2938 <dl><dt class="refactoring">CONVERT_GETTER_TO_METHOD</dt><dd> |
| 2938 <p> | 2939 <p> |
| 2939 Convert a getter into a method by removing the keyword get | 2940 Convert a getter into a method by removing the keyword get |
| 2940 and adding an empty parameter list. | 2941 and adding an empty parameter list. |
| 2941 </p> | 2942 </p> |
| 2942 <p> | 2943 <p> |
| 2943 It is an error if the range contains anything other than all | 2944 It is an error if the range contains anything other than all |
| 2944 or part of the name of a single getter. | 2945 or part of the name of a single getter. |
| 2945 </p> | 2946 </p> |
| 2946 <h4>Feedback</h4><p>none</p><h4>Options</h4><p>none</p></dd><dt class="ref
actoring">CONVERT_METHOD_TO_GETTER</dt><dd> | 2947 <h4>Feedback</h4><p>none</p><h4>Options</h4><p>none</p></dd><dt class="ref
actoring">CONVERT_METHOD_TO_GETTER</dt><dd> |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3220 | 3221 |
| 3221 <p> | 3222 <p> |
| 3222 The old name of the element before the refactoring. | 3223 The old name of the element before the refactoring. |
| 3223 </p> | 3224 </p> |
| 3224 </dd></dl><h4>Options</h4><dl><dt class="field"><b><i>newName ( String
)</i></b></dt><dd> | 3225 </dd></dl><h4>Options</h4><dl><dt class="field"><b><i>newName ( String
)</i></b></dt><dd> |
| 3225 | 3226 |
| 3226 <p> | 3227 <p> |
| 3227 The name that the element should have after the | 3228 The name that the element should have after the |
| 3228 refactoring. | 3229 refactoring. |
| 3229 </p> | 3230 </p> |
| 3230 </dd></dl></dd></dl> | 3231 </dd></dl></dd><dt class="refactoring">SORT_MEMBERS</dt><dd> |
| 3232 <p> |
| 3233 Sort all of the directives, unit and class members |
| 3234 of the given Dart file. |
| 3235 </p> |
| 3236 <p> |
| 3237 The "offset" and "length" fields from the request are ignored, but the |
| 3238 file specified in the request specifies the file to be sorted. |
| 3239 </p> |
| 3240 <h4>Feedback</h4><p>none</p><h4>Options</h4><p>none</p></dd></dl> |
| 3231 <h2>Errors</h2> | 3241 <h2>Errors</h2> |
| 3232 <p> | 3242 <p> |
| 3233 This section contains a list of all of the errors that are | 3243 This section contains a list of all of the errors that are |
| 3234 produced by the server and the data that is returned with each. | 3244 produced by the server and the data that is returned with each. |
| 3235 </p> | 3245 </p> |
| 3236 <p> | 3246 <p> |
| 3237 TBD | 3247 TBD |
| 3238 </p> | 3248 </p> |
| 3239 | 3249 |
| 3240 | 3250 |
| 3241 </body></html> | 3251 </body></html> |
| OLD | NEW |