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 2221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2232 | 2232 |
2233 /** | 2233 /** |
2234 * convertMethodToGetter options | 2234 * convertMethodToGetter options |
2235 */ | 2235 */ |
2236 final Matcher isConvertMethodToGetterOptions = isNull; | 2236 final Matcher isConvertMethodToGetterOptions = isNull; |
2237 | 2237 |
2238 /** | 2238 /** |
2239 * extractLocalVariable feedback | 2239 * extractLocalVariable feedback |
2240 * | 2240 * |
2241 * { | 2241 * { |
| 2242 * "coveringExpressionOffsets": List<int> |
| 2243 * "coveringExpressionLengths": List<int> |
2242 * "names": List<String> | 2244 * "names": List<String> |
2243 * "offsets": List<int> | 2245 * "offsets": List<int> |
2244 * "lengths": List<int> | 2246 * "lengths": List<int> |
2245 * } | 2247 * } |
2246 */ | 2248 */ |
2247 final Matcher isExtractLocalVariableFeedback = new LazyMatcher(() => new Matches
JsonObject( | 2249 final Matcher isExtractLocalVariableFeedback = new LazyMatcher(() => new Matches
JsonObject( |
2248 "extractLocalVariable feedback", { | 2250 "extractLocalVariable feedback", { |
| 2251 "coveringExpressionOffsets": isListOf(isInt), |
| 2252 "coveringExpressionLengths": isListOf(isInt), |
2249 "names": isListOf(isString), | 2253 "names": isListOf(isString), |
2250 "offsets": isListOf(isInt), | 2254 "offsets": isListOf(isInt), |
2251 "lengths": isListOf(isInt) | 2255 "lengths": isListOf(isInt) |
2252 })); | 2256 })); |
2253 | 2257 |
2254 /** | 2258 /** |
2255 * extractLocalVariable options | 2259 * extractLocalVariable options |
2256 * | 2260 * |
2257 * { | 2261 * { |
2258 * "name": String | 2262 * "name": String |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 * | 2405 * |
2402 * { | 2406 * { |
2403 * "newName": String | 2407 * "newName": String |
2404 * } | 2408 * } |
2405 */ | 2409 */ |
2406 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2410 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2407 "rename options", { | 2411 "rename options", { |
2408 "newName": isString | 2412 "newName": isString |
2409 })); | 2413 })); |
2410 | 2414 |
OLD | NEW |