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 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2044 * } | 2044 * } |
2045 */ | 2045 */ |
2046 final Matcher isEditImportElementsParams = new LazyMatcher(() => | 2046 final Matcher isEditImportElementsParams = new LazyMatcher(() => |
2047 new MatchesJsonObject("edit.importElements params", | 2047 new MatchesJsonObject("edit.importElements params", |
2048 {"file": isFilePath, "elements": isListOf(isImportedElements)})); | 2048 {"file": isFilePath, "elements": isListOf(isImportedElements)})); |
2049 | 2049 |
2050 /** | 2050 /** |
2051 * edit.importElements result | 2051 * edit.importElements result |
2052 * | 2052 * |
2053 * { | 2053 * { |
2054 * "edits": List<SourceEdit> | 2054 * "edit": SourceFileEdit |
2055 * } | 2055 * } |
2056 */ | 2056 */ |
2057 final Matcher isEditImportElementsResult = new LazyMatcher(() => | 2057 final Matcher isEditImportElementsResult = new LazyMatcher(() => |
2058 new MatchesJsonObject( | 2058 new MatchesJsonObject( |
2059 "edit.importElements result", {"edits": isListOf(isSourceEdit)})); | 2059 "edit.importElements result", {"edit": isSourceFileEdit})); |
2060 | 2060 |
2061 /** | 2061 /** |
2062 * edit.isPostfixCompletionApplicable params | 2062 * edit.isPostfixCompletionApplicable params |
2063 * | 2063 * |
2064 * { | 2064 * { |
2065 * "file": FilePath | 2065 * "file": FilePath |
2066 * "key": String | 2066 * "key": String |
2067 * "offset": int | 2067 * "offset": int |
2068 * } | 2068 * } |
2069 */ | 2069 */ |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2630 * server.status params | 2630 * server.status params |
2631 * | 2631 * |
2632 * { | 2632 * { |
2633 * "analysis": optional AnalysisStatus | 2633 * "analysis": optional AnalysisStatus |
2634 * "pub": optional PubStatus | 2634 * "pub": optional PubStatus |
2635 * } | 2635 * } |
2636 */ | 2636 */ |
2637 final Matcher isServerStatusParams = new LazyMatcher(() => | 2637 final Matcher isServerStatusParams = new LazyMatcher(() => |
2638 new MatchesJsonObject("server.status params", null, | 2638 new MatchesJsonObject("server.status params", null, |
2639 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); | 2639 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); |
OLD | NEW |