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 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 ]); | 1300 ]); |
1301 | 1301 |
1302 /** | 1302 /** |
1303 * ContextData | 1303 * ContextData |
1304 * | 1304 * |
1305 * { | 1305 * { |
1306 * "name": String | 1306 * "name": String |
1307 * "explicitFileCount": int | 1307 * "explicitFileCount": int |
1308 * "implicitFileCount": int | 1308 * "implicitFileCount": int |
1309 * "workItemQueueLength": int | 1309 * "workItemQueueLength": int |
1310 * "workItemQueueLengthAverage": String | |
1311 * "cacheEntryExceptions": List<String> | 1310 * "cacheEntryExceptions": List<String> |
1312 * } | 1311 * } |
1313 */ | 1312 */ |
1314 final Matcher isContextData = new LazyMatcher(() => new MatchesJsonObject( | 1313 final Matcher isContextData = new LazyMatcher(() => new MatchesJsonObject( |
1315 "ContextData", { | 1314 "ContextData", { |
1316 "name": isString, | 1315 "name": isString, |
1317 "explicitFileCount": isInt, | 1316 "explicitFileCount": isInt, |
1318 "implicitFileCount": isInt, | 1317 "implicitFileCount": isInt, |
1319 "workItemQueueLength": isInt, | 1318 "workItemQueueLength": isInt, |
1320 "workItemQueueLengthAverage": isString, | |
1321 "cacheEntryExceptions": isListOf(isString) | 1319 "cacheEntryExceptions": isListOf(isString) |
1322 })); | 1320 })); |
1323 | 1321 |
1324 /** | 1322 /** |
1325 * Element | 1323 * Element |
1326 * | 1324 * |
1327 * { | 1325 * { |
1328 * "kind": ElementKind | 1326 * "kind": ElementKind |
1329 * "name": String | 1327 * "name": String |
1330 * "location": optional Location | 1328 * "location": optional Location |
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2475 * | 2473 * |
2476 * { | 2474 * { |
2477 * "newName": String | 2475 * "newName": String |
2478 * } | 2476 * } |
2479 */ | 2477 */ |
2480 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2478 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2481 "rename options", { | 2479 "rename options", { |
2482 "newName": isString | 2480 "newName": isString |
2483 })); | 2481 })); |
2484 | 2482 |
OLD | NEW |