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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 * analysis.reanalyze result | 152 * analysis.reanalyze result |
153 */ | 153 */ |
154 final Matcher isAnalysisReanalyzeResult = isNull; | 154 final Matcher isAnalysisReanalyzeResult = isNull; |
155 | 155 |
156 /** | 156 /** |
157 * analysis.setAnalysisRoots params | 157 * analysis.setAnalysisRoots params |
158 * | 158 * |
159 * { | 159 * { |
160 * "included": List<FilePath> | 160 * "included": List<FilePath> |
161 * "excluded": List<FilePath> | 161 * "excluded": List<FilePath> |
| 162 * "packageRoots": optional Map<FilePath, FilePath> |
162 * } | 163 * } |
163 */ | 164 */ |
164 final Matcher isAnalysisSetAnalysisRootsParams = new LazyMatcher(() => new Match
esJsonObject( | 165 final Matcher isAnalysisSetAnalysisRootsParams = new LazyMatcher(() => new Match
esJsonObject( |
165 "analysis.setAnalysisRoots params", { | 166 "analysis.setAnalysisRoots params", { |
166 "included": isListOf(isFilePath), | 167 "included": isListOf(isFilePath), |
167 "excluded": isListOf(isFilePath) | 168 "excluded": isListOf(isFilePath) |
| 169 }, optionalFields: { |
| 170 "packageRoots": isMapOf(isFilePath, isFilePath) |
168 })); | 171 })); |
169 | 172 |
170 /** | 173 /** |
171 * analysis.setAnalysisRoots result | 174 * analysis.setAnalysisRoots result |
172 */ | 175 */ |
173 final Matcher isAnalysisSetAnalysisRootsResult = isNull; | 176 final Matcher isAnalysisSetAnalysisRootsResult = isNull; |
174 | 177 |
175 /** | 178 /** |
176 * analysis.setPriorityFiles params | 179 * analysis.setPriorityFiles params |
177 * | 180 * |
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2034 * | 2037 * |
2035 * { | 2038 * { |
2036 * "newName": String | 2039 * "newName": String |
2037 * } | 2040 * } |
2038 */ | 2041 */ |
2039 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2042 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2040 "rename options", { | 2043 "rename options", { |
2041 "newName": isString | 2044 "newName": isString |
2042 })); | 2045 })); |
2043 | 2046 |
OLD | NEW |