| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 * { | 139 * { |
| 140 * "hovers": List<HoverInformation> | 140 * "hovers": List<HoverInformation> |
| 141 * } | 141 * } |
| 142 */ | 142 */ |
| 143 final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb
ject( | 143 final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb
ject( |
| 144 "analysis.getHover result", { | 144 "analysis.getHover result", { |
| 145 "hovers": isListOf(isHoverInformation) | 145 "hovers": isListOf(isHoverInformation) |
| 146 })); | 146 })); |
| 147 | 147 |
| 148 /** | 148 /** |
| 149 * analysis.getLibraryDependencies params |
| 150 */ |
| 151 final Matcher isAnalysisGetLibraryDependenciesParams = isNull; |
| 152 |
| 153 /** |
| 154 * analysis.getLibraryDependencies result |
| 155 * |
| 156 * { |
| 157 * "directories": List<FilePath> |
| 158 * } |
| 159 */ |
| 160 final Matcher isAnalysisGetLibraryDependenciesResult = new LazyMatcher(() => new
MatchesJsonObject( |
| 161 "analysis.getLibraryDependencies result", { |
| 162 "directories": isListOf(isFilePath) |
| 163 })); |
| 164 |
| 165 /** |
| 149 * analysis.getNavigation params | 166 * analysis.getNavigation params |
| 150 * | 167 * |
| 151 * { | 168 * { |
| 152 * "file": FilePath | 169 * "file": FilePath |
| 153 * "offset": int | 170 * "offset": int |
| 154 * "length": int | 171 * "length": int |
| 155 * } | 172 * } |
| 156 */ | 173 */ |
| 157 final Matcher isAnalysisGetNavigationParams = new LazyMatcher(() => new MatchesJ
sonObject( | 174 final Matcher isAnalysisGetNavigationParams = new LazyMatcher(() => new MatchesJ
sonObject( |
| 158 "analysis.getNavigation params", { | 175 "analysis.getNavigation params", { |
| (...skipping 1969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2128 * | 2145 * |
| 2129 * { | 2146 * { |
| 2130 * "newName": String | 2147 * "newName": String |
| 2131 * } | 2148 * } |
| 2132 */ | 2149 */ |
| 2133 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2150 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2134 "rename options", { | 2151 "rename options", { |
| 2135 "newName": isString | 2152 "newName": isString |
| 2136 })); | 2153 })); |
| 2137 | 2154 |
| OLD | NEW |