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 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 * "relevance": int | 1257 * "relevance": int |
1258 * "completion": String | 1258 * "completion": String |
1259 * "selectionOffset": int | 1259 * "selectionOffset": int |
1260 * "selectionLength": int | 1260 * "selectionLength": int |
1261 * "isDeprecated": bool | 1261 * "isDeprecated": bool |
1262 * "isPotential": bool | 1262 * "isPotential": bool |
1263 * "docSummary": optional String | 1263 * "docSummary": optional String |
1264 * "docComplete": optional String | 1264 * "docComplete": optional String |
1265 * "declaringType": optional String | 1265 * "declaringType": optional String |
1266 * "defaultArgumentListString": optional String | 1266 * "defaultArgumentListString": optional String |
| 1267 * "defaultArgumentListTextRanges": optional List<int> |
1267 * "element": optional Element | 1268 * "element": optional Element |
1268 * "returnType": optional String | 1269 * "returnType": optional String |
1269 * "parameterNames": optional List<String> | 1270 * "parameterNames": optional List<String> |
1270 * "parameterTypes": optional List<String> | 1271 * "parameterTypes": optional List<String> |
1271 * "requiredParameterCount": optional int | 1272 * "requiredParameterCount": optional int |
1272 * "hasNamedParameters": optional bool | 1273 * "hasNamedParameters": optional bool |
1273 * "parameterName": optional String | 1274 * "parameterName": optional String |
1274 * "parameterType": optional String | 1275 * "parameterType": optional String |
1275 * "importUri": optional String | 1276 * "importUri": optional String |
1276 * } | 1277 * } |
1277 */ | 1278 */ |
1278 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje
ct( | 1279 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje
ct( |
1279 "CompletionSuggestion", { | 1280 "CompletionSuggestion", { |
1280 "kind": isCompletionSuggestionKind, | 1281 "kind": isCompletionSuggestionKind, |
1281 "relevance": isInt, | 1282 "relevance": isInt, |
1282 "completion": isString, | 1283 "completion": isString, |
1283 "selectionOffset": isInt, | 1284 "selectionOffset": isInt, |
1284 "selectionLength": isInt, | 1285 "selectionLength": isInt, |
1285 "isDeprecated": isBool, | 1286 "isDeprecated": isBool, |
1286 "isPotential": isBool | 1287 "isPotential": isBool |
1287 }, optionalFields: { | 1288 }, optionalFields: { |
1288 "docSummary": isString, | 1289 "docSummary": isString, |
1289 "docComplete": isString, | 1290 "docComplete": isString, |
1290 "declaringType": isString, | 1291 "declaringType": isString, |
1291 "defaultArgumentListString": isString, | 1292 "defaultArgumentListString": isString, |
| 1293 "defaultArgumentListTextRanges": isListOf(isInt), |
1292 "element": isElement, | 1294 "element": isElement, |
1293 "returnType": isString, | 1295 "returnType": isString, |
1294 "parameterNames": isListOf(isString), | 1296 "parameterNames": isListOf(isString), |
1295 "parameterTypes": isListOf(isString), | 1297 "parameterTypes": isListOf(isString), |
1296 "requiredParameterCount": isInt, | 1298 "requiredParameterCount": isInt, |
1297 "hasNamedParameters": isBool, | 1299 "hasNamedParameters": isBool, |
1298 "parameterName": isString, | 1300 "parameterName": isString, |
1299 "parameterType": isString, | 1301 "parameterType": isString, |
1300 "importUri": isString | 1302 "importUri": isString |
1301 })); | 1303 })); |
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2505 * | 2507 * |
2506 * { | 2508 * { |
2507 * "newName": String | 2509 * "newName": String |
2508 * } | 2510 * } |
2509 */ | 2511 */ |
2510 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2512 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2511 "rename options", { | 2513 "rename options", { |
2512 "newName": isString | 2514 "newName": isString |
2513 })); | 2515 })); |
2514 | 2516 |
OLD | NEW |