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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 "search.findTopLevelDeclarations result", { | 622 "search.findTopLevelDeclarations result", { |
623 "id": isSearchId | 623 "id": isSearchId |
624 })); | 624 })); |
625 | 625 |
626 /** | 626 /** |
627 * search.getTypeHierarchy params | 627 * search.getTypeHierarchy params |
628 * | 628 * |
629 * { | 629 * { |
630 * "file": FilePath | 630 * "file": FilePath |
631 * "offset": int | 631 * "offset": int |
| 632 * "superOnly": optional bool |
632 * } | 633 * } |
633 */ | 634 */ |
634 final Matcher isSearchGetTypeHierarchyParams = new LazyMatcher(() => new Matches
JsonObject( | 635 final Matcher isSearchGetTypeHierarchyParams = new LazyMatcher(() => new Matches
JsonObject( |
635 "search.getTypeHierarchy params", { | 636 "search.getTypeHierarchy params", { |
636 "file": isFilePath, | 637 "file": isFilePath, |
637 "offset": isInt | 638 "offset": isInt |
| 639 }, optionalFields: { |
| 640 "superOnly": isBool |
638 })); | 641 })); |
639 | 642 |
640 /** | 643 /** |
641 * search.getTypeHierarchy result | 644 * search.getTypeHierarchy result |
642 * | 645 * |
643 * { | 646 * { |
644 * "hierarchyItems": optional List<TypeHierarchyItem> | 647 * "hierarchyItems": optional List<TypeHierarchyItem> |
645 * } | 648 * } |
646 */ | 649 */ |
647 final Matcher isSearchGetTypeHierarchyResult = new LazyMatcher(() => new Matches
JsonObject( | 650 final Matcher isSearchGetTypeHierarchyResult = new LazyMatcher(() => new Matches
JsonObject( |
(...skipping 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2334 * | 2337 * |
2335 * { | 2338 * { |
2336 * "newName": String | 2339 * "newName": String |
2337 * } | 2340 * } |
2338 */ | 2341 */ |
2339 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2342 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2340 "rename options", { | 2343 "rename options", { |
2341 "newName": isString | 2344 "newName": isString |
2342 })); | 2345 })); |
2343 | 2346 |
OLD | NEW |