| 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/tool/spec/generate_files". | 7 // "pkg/analysis_server/tool/spec/generate_files". |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Matchers for data types defined in the analysis server API | 10 * Matchers for data types defined in the analysis server API |
| (...skipping 2225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2236 | 2236 |
| 2237 /** | 2237 /** |
| 2238 * convertMethodToGetter options | 2238 * convertMethodToGetter options |
| 2239 */ | 2239 */ |
| 2240 final Matcher isConvertMethodToGetterOptions = isNull; | 2240 final Matcher isConvertMethodToGetterOptions = isNull; |
| 2241 | 2241 |
| 2242 /** | 2242 /** |
| 2243 * extractLocalVariable feedback | 2243 * extractLocalVariable feedback |
| 2244 * | 2244 * |
| 2245 * { | 2245 * { |
| 2246 * "coveringExpressionOffsets": List<int> | 2246 * "coveringExpressionOffsets": optional List<int> |
| 2247 * "coveringExpressionLengths": List<int> | 2247 * "coveringExpressionLengths": optional List<int> |
| 2248 * "names": List<String> | 2248 * "names": List<String> |
| 2249 * "offsets": List<int> | 2249 * "offsets": List<int> |
| 2250 * "lengths": List<int> | 2250 * "lengths": List<int> |
| 2251 * } | 2251 * } |
| 2252 */ | 2252 */ |
| 2253 final Matcher isExtractLocalVariableFeedback = new LazyMatcher(() => new Matches
JsonObject( | 2253 final Matcher isExtractLocalVariableFeedback = new LazyMatcher(() => new Matches
JsonObject( |
| 2254 "extractLocalVariable feedback", { | 2254 "extractLocalVariable feedback", { |
| 2255 "coveringExpressionOffsets": isListOf(isInt), | |
| 2256 "coveringExpressionLengths": isListOf(isInt), | |
| 2257 "names": isListOf(isString), | 2255 "names": isListOf(isString), |
| 2258 "offsets": isListOf(isInt), | 2256 "offsets": isListOf(isInt), |
| 2259 "lengths": isListOf(isInt) | 2257 "lengths": isListOf(isInt) |
| 2258 }, optionalFields: { |
| 2259 "coveringExpressionOffsets": isListOf(isInt), |
| 2260 "coveringExpressionLengths": isListOf(isInt) |
| 2260 })); | 2261 })); |
| 2261 | 2262 |
| 2262 /** | 2263 /** |
| 2263 * extractLocalVariable options | 2264 * extractLocalVariable options |
| 2264 * | 2265 * |
| 2265 * { | 2266 * { |
| 2266 * "name": String | 2267 * "name": String |
| 2267 * "extractAll": bool | 2268 * "extractAll": bool |
| 2268 * } | 2269 * } |
| 2269 */ | 2270 */ |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2409 * | 2410 * |
| 2410 * { | 2411 * { |
| 2411 * "newName": String | 2412 * "newName": String |
| 2412 * } | 2413 * } |
| 2413 */ | 2414 */ |
| 2414 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2415 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2415 "rename options", { | 2416 "rename options", { |
| 2416 "newName": isString | 2417 "newName": isString |
| 2417 })); | 2418 })); |
| 2418 | 2419 |
| OLD | NEW |