| 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 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1276 ]); | 1276 ]); |
| 1277 | 1277 |
| 1278 /** | 1278 /** |
| 1279 * ContextData | 1279 * ContextData |
| 1280 * | 1280 * |
| 1281 * { | 1281 * { |
| 1282 * "name": String | 1282 * "name": String |
| 1283 * "explicitFileCount": int | 1283 * "explicitFileCount": int |
| 1284 * "implicitFileCount": int | 1284 * "implicitFileCount": int |
| 1285 * "workItemQueueLength": int | 1285 * "workItemQueueLength": int |
| 1286 * "workItemQueueLengthAverage": String |
| 1286 * "cacheEntryExceptions": List<String> | 1287 * "cacheEntryExceptions": List<String> |
| 1287 * } | 1288 * } |
| 1288 */ | 1289 */ |
| 1289 final Matcher isContextData = new LazyMatcher(() => new MatchesJsonObject( | 1290 final Matcher isContextData = new LazyMatcher(() => new MatchesJsonObject( |
| 1290 "ContextData", { | 1291 "ContextData", { |
| 1291 "name": isString, | 1292 "name": isString, |
| 1292 "explicitFileCount": isInt, | 1293 "explicitFileCount": isInt, |
| 1293 "implicitFileCount": isInt, | 1294 "implicitFileCount": isInt, |
| 1294 "workItemQueueLength": isInt, | 1295 "workItemQueueLength": isInt, |
| 1296 "workItemQueueLengthAverage": isString, |
| 1295 "cacheEntryExceptions": isListOf(isString) | 1297 "cacheEntryExceptions": isListOf(isString) |
| 1296 })); | 1298 })); |
| 1297 | 1299 |
| 1298 /** | 1300 /** |
| 1299 * Element | 1301 * Element |
| 1300 * | 1302 * |
| 1301 * { | 1303 * { |
| 1302 * "kind": ElementKind | 1304 * "kind": ElementKind |
| 1303 * "name": String | 1305 * "name": String |
| 1304 * "location": optional Location | 1306 * "location": optional Location |
| (...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2447 * | 2449 * |
| 2448 * { | 2450 * { |
| 2449 * "newName": String | 2451 * "newName": String |
| 2450 * } | 2452 * } |
| 2451 */ | 2453 */ |
| 2452 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2454 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2453 "rename options", { | 2455 "rename options", { |
| 2454 "newName": isString | 2456 "newName": isString |
| 2455 })); | 2457 })); |
| 2456 | 2458 |
| OLD | NEW |