| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
| 6 // To regenerate the file, use the script | 6 // To regenerate the file, use the script |
| 7 // "pkg/analysis_server/spec/generate_files". | 7 // "pkg/analysis_server/spec/generate_files". |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Convenience methods for running integration tests | 10 * Convenience methods for running integration tests |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1143 * returned is documented in the section titled Refactorings, labeled as | 1143 * returned is documented in the section titled Refactorings, labeled as |
| 1144 * “Feedback”. | 1144 * “Feedback”. |
| 1145 * | 1145 * |
| 1146 * change ( optional SourceChange ) | 1146 * change ( optional SourceChange ) |
| 1147 * | 1147 * |
| 1148 * The changes that are to be applied to affect the refactoring. This field | 1148 * The changes that are to be applied to affect the refactoring. This field |
| 1149 * will be omitted if there are problems that prevent a set of changes from | 1149 * will be omitted if there are problems that prevent a set of changes from |
| 1150 * being computed, such as having no options specified for a refactoring | 1150 * being computed, such as having no options specified for a refactoring |
| 1151 * that requires them, or if only validation was requested. | 1151 * that requires them, or if only validation was requested. |
| 1152 * | 1152 * |
| 1153 * potentialChanges ( optional List<String> ) | 1153 * potentialEdits ( optional List<String> ) |
| 1154 * | 1154 * |
| 1155 * The ids of source edits that are not known to be valid. An edit is not | 1155 * The ids of source edits that are not known to be valid. An edit is not |
| 1156 * known to be valid if there was insufficient type information for the | 1156 * known to be valid if there was insufficient type information for the |
| 1157 * server to be able to determine whether or not the code needs to be | 1157 * server to be able to determine whether or not the code needs to be |
| 1158 * modified, such as when a member is being renamed and there is a | 1158 * modified, such as when a member is being renamed and there is a |
| 1159 * reference to a member from an unknown type. This field will be omitted | 1159 * reference to a member from an unknown type. This field will be omitted |
| 1160 * if the change field is omitted or if there are no potential edits for | 1160 * if the change field is omitted or if there are no potential edits for |
| 1161 * the refactoring. | 1161 * the refactoring. |
| 1162 */ | 1162 */ |
| 1163 Future sendEditGetRefactoring(String kindId, String file, int offset, int leng
th, bool validateOnly, {Map<String, dynamic> options, bool checkTypes: true}) { | 1163 Future sendEditGetRefactoring(String kindId, String file, int offset, int leng
th, bool validateOnly, {Map<String, dynamic> options, bool checkTypes: true}) { |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1452 case "debug.launchData": | 1452 case "debug.launchData": |
| 1453 expect(params, isDebugLaunchDataParams); | 1453 expect(params, isDebugLaunchDataParams); |
| 1454 _onDebugLaunchData.add(params); | 1454 _onDebugLaunchData.add(params); |
| 1455 break; | 1455 break; |
| 1456 default: | 1456 default: |
| 1457 fail('Unexpected notification: $event'); | 1457 fail('Unexpected notification: $event'); |
| 1458 break; | 1458 break; |
| 1459 } | 1459 } |
| 1460 } | 1460 } |
| 1461 } | 1461 } |
| OLD | NEW |