OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 */ | 709 */ |
710 final Matcher isImportedElements = new LazyMatcher(() => new MatchesJsonObject( | 710 final Matcher isImportedElements = new LazyMatcher(() => new MatchesJsonObject( |
711 "ImportedElements", | 711 "ImportedElements", |
712 {"path": isFilePath, "prefix": isString, "elements": isListOf(isString)})); | 712 {"path": isFilePath, "prefix": isString, "elements": isListOf(isString)})); |
713 | 713 |
714 /** | 714 /** |
715 * KytheEntry | 715 * KytheEntry |
716 * | 716 * |
717 * { | 717 * { |
718 * "source": KytheVName | 718 * "source": KytheVName |
719 * "kind": String | 719 * "kind": optional String |
720 * "target": KytheVName | 720 * "target": optional KytheVName |
721 * "fact": String | 721 * "fact": String |
722 * "value": List<int> | 722 * "value": optional List<int> |
723 * } | 723 * } |
724 */ | 724 */ |
725 final Matcher isKytheEntry = | 725 final Matcher isKytheEntry = new LazyMatcher(() => new MatchesJsonObject( |
726 new LazyMatcher(() => new MatchesJsonObject("KytheEntry", { | 726 "KytheEntry", { |
727 "source": isKytheVName, | 727 "source": isKytheVName, |
728 "kind": isString, | 728 "fact": isString |
729 "target": isKytheVName, | 729 }, optionalFields: { |
730 "fact": isString, | 730 "kind": isString, |
731 "value": isListOf(isInt) | 731 "target": isKytheVName, |
732 })); | 732 "value": isListOf(isInt) |
| 733 })); |
733 | 734 |
734 /** | 735 /** |
735 * KytheVName | 736 * KytheVName |
736 * | 737 * |
737 * { | 738 * { |
738 * "signature": String | 739 * "signature": String |
739 * "corpus": String | 740 * "corpus": String |
740 * "root": String | 741 * "root": String |
741 * "path": String | 742 * "path": String |
742 * "language": String | 743 * "language": String |
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2630 * server.status params | 2631 * server.status params |
2631 * | 2632 * |
2632 * { | 2633 * { |
2633 * "analysis": optional AnalysisStatus | 2634 * "analysis": optional AnalysisStatus |
2634 * "pub": optional PubStatus | 2635 * "pub": optional PubStatus |
2635 * } | 2636 * } |
2636 */ | 2637 */ |
2637 final Matcher isServerStatusParams = new LazyMatcher(() => | 2638 final Matcher isServerStatusParams = new LazyMatcher(() => |
2638 new MatchesJsonObject("server.status params", null, | 2639 new MatchesJsonObject("server.status params", null, |
2639 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); | 2640 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); |
OLD | NEW |