| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 * "files": Map<FilePath, AddContentOverlay | ChangeContentOverlay | RemoveCon
tentOverlay> | 267 * "files": Map<FilePath, AddContentOverlay | ChangeContentOverlay | RemoveCon
tentOverlay> |
| 268 * } | 268 * } |
| 269 */ | 269 */ |
| 270 final Matcher isAnalysisUpdateContentParams = new LazyMatcher(() => new MatchesJ
sonObject( | 270 final Matcher isAnalysisUpdateContentParams = new LazyMatcher(() => new MatchesJ
sonObject( |
| 271 "analysis.updateContent params", { | 271 "analysis.updateContent params", { |
| 272 "files": isMapOf(isFilePath, isOneOf([isAddContentOverlay, isChangeContentOv
erlay, isRemoveContentOverlay])) | 272 "files": isMapOf(isFilePath, isOneOf([isAddContentOverlay, isChangeContentOv
erlay, isRemoveContentOverlay])) |
| 273 })); | 273 })); |
| 274 | 274 |
| 275 /** | 275 /** |
| 276 * analysis.updateContent result | 276 * analysis.updateContent result |
| 277 * |
| 278 * { |
| 279 * } |
| 277 */ | 280 */ |
| 278 final Matcher isAnalysisUpdateContentResult = isNull; | 281 final Matcher isAnalysisUpdateContentResult = new LazyMatcher(() => new MatchesJ
sonObject( |
| 282 "analysis.updateContent result", null)); |
| 279 | 283 |
| 280 /** | 284 /** |
| 281 * analysis.updateOptions params | 285 * analysis.updateOptions params |
| 282 * | 286 * |
| 283 * { | 287 * { |
| 284 * "options": AnalysisOptions | 288 * "options": AnalysisOptions |
| 285 * } | 289 * } |
| 286 */ | 290 */ |
| 287 final Matcher isAnalysisUpdateOptionsParams = new LazyMatcher(() => new MatchesJ
sonObject( | 291 final Matcher isAnalysisUpdateOptionsParams = new LazyMatcher(() => new MatchesJ
sonObject( |
| 288 "analysis.updateOptions params", { | 292 "analysis.updateOptions params", { |
| (...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2145 * | 2149 * |
| 2146 * { | 2150 * { |
| 2147 * "newName": String | 2151 * "newName": String |
| 2148 * } | 2152 * } |
| 2149 */ | 2153 */ |
| 2150 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2154 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2151 "rename options", { | 2155 "rename options", { |
| 2152 "newName": isString | 2156 "newName": isString |
| 2153 })); | 2157 })); |
| 2154 | 2158 |
| OLD | NEW |