| 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/spec/generate_files". | 7 // "pkg/analysis_server/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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 final Matcher isSearchGetTypeHierarchyParams = new MatchesJsonObject( | 509 final Matcher isSearchGetTypeHierarchyParams = new MatchesJsonObject( |
| 510 "search.getTypeHierarchy params", { | 510 "search.getTypeHierarchy params", { |
| 511 "file": isFilePath, | 511 "file": isFilePath, |
| 512 "offset": isInt | 512 "offset": isInt |
| 513 }); | 513 }); |
| 514 | 514 |
| 515 /** | 515 /** |
| 516 * search.getTypeHierarchy result | 516 * search.getTypeHierarchy result |
| 517 * | 517 * |
| 518 * { | 518 * { |
| 519 * "hierarchyItems": List<TypeHierarchyItem> | 519 * "hierarchyItems": optional List<TypeHierarchyItem> |
| 520 * } | 520 * } |
| 521 */ | 521 */ |
| 522 final Matcher isSearchGetTypeHierarchyResult = new MatchesJsonObject( | 522 final Matcher isSearchGetTypeHierarchyResult = new MatchesJsonObject( |
| 523 "search.getTypeHierarchy result", { | 523 "search.getTypeHierarchy result", null, optionalFields: { |
| 524 "hierarchyItems": isListOf(isTypeHierarchyItem) | 524 "hierarchyItems": isListOf(isTypeHierarchyItem) |
| 525 }); | 525 }); |
| 526 | 526 |
| 527 /** | 527 /** |
| 528 * search.results params | 528 * search.results params |
| 529 * | 529 * |
| 530 * { | 530 * { |
| 531 * "id": SearchId | 531 * "id": SearchId |
| 532 * "results": List<SearchResult> | 532 * "results": List<SearchResult> |
| 533 * "last": bool | 533 * "last": bool |
| (...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1866 * | 1866 * |
| 1867 * { | 1867 * { |
| 1868 * "newName": String | 1868 * "newName": String |
| 1869 * } | 1869 * } |
| 1870 */ | 1870 */ |
| 1871 final Matcher isRenameOptions = new MatchesJsonObject( | 1871 final Matcher isRenameOptions = new MatchesJsonObject( |
| 1872 "rename options", { | 1872 "rename options", { |
| 1873 "newName": isString | 1873 "newName": isString |
| 1874 }); | 1874 }); |
| 1875 | 1875 |
| OLD | NEW |