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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 587553002: API proposal for the MOVE_FILE refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add MoveFileOptions.java 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><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 2915 matching lines...) Expand 10 before | Expand all | Expand 10 after
2926 edit.getRefactoring request (designed to improve the UX) 2926 edit.getRefactoring request (designed to improve the UX)
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 <dl><dt class="refactoring">CONVERT_GETTER_TO_METHOD</dt><dd> 2937 <dl><dt class="refactoring">CONVERT_GETTER_TO_METHOD</dt><dd>
2937 <p> 2938 <p>
2938 Convert a getter into a method by removing the keyword get 2939 Convert a getter into a method by removing the keyword get
2939 and adding an empty parameter list. 2940 and adding an empty parameter list.
2940 </p> 2941 </p>
2941 <p> 2942 <p>
2942 It is an error if the range contains anything other than all 2943 It is an error if the range contains anything other than all
2943 or part of the name of a single getter. 2944 or part of the name of a single getter.
2944 </p> 2945 </p>
2945 <h4>Feedback</h4><p>none</p><h4>Options</h4><p>none</p></dd><dt class="ref actoring">CONVERT_METHOD_TO_GETTER</dt><dd> 2946 <h4>Feedback</h4><p>none</p><h4>Options</h4><p>none</p></dd><dt class="ref actoring">CONVERT_METHOD_TO_GETTER</dt><dd>
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
3156 True if the method being inlined should be removed. 3157 True if the method being inlined should be removed.
3157 It is an error if this field is true and inlineAll is false. 3158 It is an error if this field is true and inlineAll is false.
3158 </p> 3159 </p>
3159 </dd><dt class="field"><b><i>inlineAll ( bool )</i></b></dt><dd> 3160 </dd><dt class="field"><b><i>inlineAll ( bool )</i></b></dt><dd>
3160 3161
3161 <p> 3162 <p>
3162 True if all invocations of the method should be inlined, 3163 True if all invocations of the method should be inlined,
3163 or false if only the invocation site used to create this 3164 or false if only the invocation site used to create this
3164 refactoring should be inlined. 3165 refactoring should be inlined.
3165 </p> 3166 </p>
3167 </dd></dl></dd><dt class="refactoring">MOVE_FILE</dt><dd>
3168 <p>
3169 Move the given file and update all of the references to that file
3170 and from it. The move operation is supported in general case - for
3171 renaming a file in the same folder, moving it to a different folder
3172 or both.
3173 </p>
3174 <p>
3175 The refactoring must be activated before an actual file moving
3176 operation is performed.
3177 </p>
3178 <p>
3179 The "offset" and "length" fields are ignored.
3180 </p>
3181
3182 <h4>Feedback</h4><p>none</p><h4>Options</h4><dl><dt class="field"><b><i>ne wFile ( <a href="#type_FilePath">FilePath</a> )</i></b></dt><dd>
3183
3184 <p>
3185 The new file path to which the given file is being moved.
3186 </p>
3166 </dd></dl></dd><dt class="refactoring">RENAME</dt><dd> 3187 </dd></dl></dd><dt class="refactoring">RENAME</dt><dd>
3167 <p> 3188 <p>
3168 Rename a given element and all of the references to that 3189 Rename a given element and all of the references to that
3169 element. 3190 element.
3170 </p> 3191 </p>
3171 <p> 3192 <p>
3172 It is an error if the range contains anything other than all 3193 It is an error if the range contains anything other than all
3173 or part of the name of a single function (including methods, 3194 or part of the name of a single function (including methods,
3174 getters and setters), variable (including fields, parameters 3195 getters and setters), variable (including fields, parameters
3175 and local variables), class or function type. 3196 and local variables), class or function type.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
3210 <p> 3231 <p>
3211 This section contains a list of all of the errors that are 3232 This section contains a list of all of the errors that are
3212 produced by the server and the data that is returned with each. 3233 produced by the server and the data that is returned with each.
3213 </p> 3234 </p>
3214 <p> 3235 <p>
3215 TBD 3236 TBD
3216 </p> 3237 </p>
3217 3238
3218 3239
3219 </body></html> 3240 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698