| 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 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 | 1063 |
| 1064 /** | 1064 /** |
| 1065 * AnalysisError | 1065 * AnalysisError |
| 1066 * | 1066 * |
| 1067 * { | 1067 * { |
| 1068 * "severity": AnalysisErrorSeverity | 1068 * "severity": AnalysisErrorSeverity |
| 1069 * "type": AnalysisErrorType | 1069 * "type": AnalysisErrorType |
| 1070 * "location": Location | 1070 * "location": Location |
| 1071 * "message": String | 1071 * "message": String |
| 1072 * "correction": optional String | 1072 * "correction": optional String |
| 1073 * "code": String |
| 1073 * "hasFix": optional bool | 1074 * "hasFix": optional bool |
| 1074 * } | 1075 * } |
| 1075 */ | 1076 */ |
| 1076 final Matcher isAnalysisError = new LazyMatcher(() => new MatchesJsonObject( | 1077 final Matcher isAnalysisError = new LazyMatcher(() => new MatchesJsonObject( |
| 1077 "AnalysisError", { | 1078 "AnalysisError", { |
| 1078 "severity": isAnalysisErrorSeverity, | 1079 "severity": isAnalysisErrorSeverity, |
| 1079 "type": isAnalysisErrorType, | 1080 "type": isAnalysisErrorType, |
| 1080 "location": isLocation, | 1081 "location": isLocation, |
| 1081 "message": isString | 1082 "message": isString, |
| 1083 "code": isString |
| 1082 }, optionalFields: { | 1084 }, optionalFields: { |
| 1083 "correction": isString, | 1085 "correction": isString, |
| 1084 "hasFix": isBool | 1086 "hasFix": isBool |
| 1085 })); | 1087 })); |
| 1086 | 1088 |
| 1087 /** | 1089 /** |
| 1088 * AnalysisErrorFixes | 1090 * AnalysisErrorFixes |
| 1089 * | 1091 * |
| 1090 * { | 1092 * { |
| 1091 * "error": AnalysisError | 1093 * "error": AnalysisError |
| (...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2475 * | 2477 * |
| 2476 * { | 2478 * { |
| 2477 * "newName": String | 2479 * "newName": String |
| 2478 * } | 2480 * } |
| 2479 */ | 2481 */ |
| 2480 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2482 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2481 "rename options", { | 2483 "rename options", { |
| 2482 "newName": isString | 2484 "newName": isString |
| 2483 })); | 2485 })); |
| 2484 | 2486 |
| OLD | NEW |