| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 /** | 148 /** |
| 149 * analysis.getLibraryDependencies params | 149 * analysis.getLibraryDependencies params |
| 150 */ | 150 */ |
| 151 final Matcher isAnalysisGetLibraryDependenciesParams = isNull; | 151 final Matcher isAnalysisGetLibraryDependenciesParams = isNull; |
| 152 | 152 |
| 153 /** | 153 /** |
| 154 * analysis.getLibraryDependencies result | 154 * analysis.getLibraryDependencies result |
| 155 * | 155 * |
| 156 * { | 156 * { |
| 157 * "libraries": List<FilePath> | 157 * "libraries": List<FilePath> |
| 158 * "packageMap": Map<String, Map<String, List<FilePath>>> |
| 158 * } | 159 * } |
| 159 */ | 160 */ |
| 160 final Matcher isAnalysisGetLibraryDependenciesResult = new LazyMatcher(() => new
MatchesJsonObject( | 161 final Matcher isAnalysisGetLibraryDependenciesResult = new LazyMatcher(() => new
MatchesJsonObject( |
| 161 "analysis.getLibraryDependencies result", { | 162 "analysis.getLibraryDependencies result", { |
| 162 "libraries": isListOf(isFilePath) | 163 "libraries": isListOf(isFilePath), |
| 164 "packageMap": isMapOf(isString, isMapOf(isString, isListOf(isFilePath))) |
| 163 })); | 165 })); |
| 164 | 166 |
| 165 /** | 167 /** |
| 166 * analysis.getNavigation params | 168 * analysis.getNavigation params |
| 167 * | 169 * |
| 168 * { | 170 * { |
| 169 * "file": FilePath | 171 * "file": FilePath |
| 170 * "offset": int | 172 * "offset": int |
| 171 * "length": int | 173 * "length": int |
| 172 * } | 174 * } |
| (...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2149 * | 2151 * |
| 2150 * { | 2152 * { |
| 2151 * "newName": String | 2153 * "newName": String |
| 2152 * } | 2154 * } |
| 2153 */ | 2155 */ |
| 2154 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2156 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2155 "rename options", { | 2157 "rename options", { |
| 2156 "newName": isString | 2158 "newName": isString |
| 2157 })); | 2159 })); |
| 2158 | 2160 |
| OLD | NEW |