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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 * } | 682 * } |
683 */ | 683 */ |
684 final Matcher isImplementedMember = new LazyMatcher(() => new MatchesJsonObject( | 684 final Matcher isImplementedMember = new LazyMatcher(() => new MatchesJsonObject( |
685 "ImplementedMember", {"offset": isInt, "length": isInt})); | 685 "ImplementedMember", {"offset": isInt, "length": isInt})); |
686 | 686 |
687 /** | 687 /** |
688 * ImportedElements | 688 * ImportedElements |
689 * | 689 * |
690 * { | 690 * { |
691 * "path": FilePath | 691 * "path": FilePath |
692 * "uri": String | |
693 * "prefix": String | 692 * "prefix": String |
694 * "elements": List<String> | 693 * "elements": List<String> |
695 * } | 694 * } |
696 */ | 695 */ |
697 final Matcher isImportedElements = | 696 final Matcher isImportedElements = new LazyMatcher(() => new MatchesJsonObject( |
698 new LazyMatcher(() => new MatchesJsonObject("ImportedElements", { | 697 "ImportedElements", |
699 "path": isFilePath, | 698 {"path": isFilePath, "prefix": isString, "elements": isListOf(isString)})); |
700 "uri": isString, | |
701 "prefix": isString, | |
702 "elements": isListOf(isString) | |
703 })); | |
704 | 699 |
705 /** | 700 /** |
706 * LinkedEditGroup | 701 * LinkedEditGroup |
707 * | 702 * |
708 * { | 703 * { |
709 * "positions": List<Position> | 704 * "positions": List<Position> |
710 * "length": int | 705 * "length": int |
711 * "suggestions": List<LinkedEditSuggestion> | 706 * "suggestions": List<LinkedEditSuggestion> |
712 * } | 707 * } |
713 */ | 708 */ |
(...skipping 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2544 * server.status params | 2539 * server.status params |
2545 * | 2540 * |
2546 * { | 2541 * { |
2547 * "analysis": optional AnalysisStatus | 2542 * "analysis": optional AnalysisStatus |
2548 * "pub": optional PubStatus | 2543 * "pub": optional PubStatus |
2549 * } | 2544 * } |
2550 */ | 2545 */ |
2551 final Matcher isServerStatusParams = new LazyMatcher(() => | 2546 final Matcher isServerStatusParams = new LazyMatcher(() => |
2552 new MatchesJsonObject("server.status params", null, | 2547 new MatchesJsonObject("server.status params", null, |
2553 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); | 2548 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); |
OLD | NEW |