| 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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 /** | 981 /** |
| 982 * AnalysisOptions | 982 * AnalysisOptions |
| 983 * | 983 * |
| 984 * { | 984 * { |
| 985 * "enableAsync": optional bool | 985 * "enableAsync": optional bool |
| 986 * "enableDeferredLoading": optional bool | 986 * "enableDeferredLoading": optional bool |
| 987 * "enableEnums": optional bool | 987 * "enableEnums": optional bool |
| 988 * "generateDart2jsHints": optional bool | 988 * "generateDart2jsHints": optional bool |
| 989 * "generateHints": optional bool | 989 * "generateHints": optional bool |
| 990 * "generateLints": optional bool | 990 * "generateLints": optional bool |
| 991 * "fileReadMode": optional FileReadMode |
| 991 * } | 992 * } |
| 992 */ | 993 */ |
| 993 final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject( | 994 final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 994 "AnalysisOptions", null, optionalFields: { | 995 "AnalysisOptions", null, optionalFields: { |
| 995 "enableAsync": isBool, | 996 "enableAsync": isBool, |
| 996 "enableDeferredLoading": isBool, | 997 "enableDeferredLoading": isBool, |
| 997 "enableEnums": isBool, | 998 "enableEnums": isBool, |
| 998 "generateDart2jsHints": isBool, | 999 "generateDart2jsHints": isBool, |
| 999 "generateHints": isBool, | 1000 "generateHints": isBool, |
| 1000 "generateLints": isBool | 1001 "generateLints": isBool, |
| 1002 "fileReadMode": isFileReadMode |
| 1001 })); | 1003 })); |
| 1002 | 1004 |
| 1003 /** | 1005 /** |
| 1004 * AnalysisService | 1006 * AnalysisService |
| 1005 * | 1007 * |
| 1006 * enum { | 1008 * enum { |
| 1007 * FOLDING | 1009 * FOLDING |
| 1008 * HIGHLIGHTS | 1010 * HIGHLIGHTS |
| 1009 * INVALIDATE | 1011 * INVALIDATE |
| 1010 * NAVIGATION | 1012 * NAVIGATION |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 ]); | 1255 ]); |
| 1254 | 1256 |
| 1255 /** | 1257 /** |
| 1256 * FilePath | 1258 * FilePath |
| 1257 * | 1259 * |
| 1258 * String | 1260 * String |
| 1259 */ | 1261 */ |
| 1260 final Matcher isFilePath = isString; | 1262 final Matcher isFilePath = isString; |
| 1261 | 1263 |
| 1262 /** | 1264 /** |
| 1265 * FileReadMode |
| 1266 * |
| 1267 * enum { |
| 1268 * AS_IS |
| 1269 * NORMALIZE_EOL |
| 1270 * } |
| 1271 */ |
| 1272 final Matcher isFileReadMode = new MatchesEnum("FileReadMode", [ |
| 1273 "AS_IS", |
| 1274 "NORMALIZE_EOL" |
| 1275 ]); |
| 1276 |
| 1277 /** |
| 1263 * FoldingKind | 1278 * FoldingKind |
| 1264 * | 1279 * |
| 1265 * enum { | 1280 * enum { |
| 1266 * COMMENT | 1281 * COMMENT |
| 1267 * CLASS_MEMBER | 1282 * CLASS_MEMBER |
| 1268 * DIRECTIVES | 1283 * DIRECTIVES |
| 1269 * DOCUMENTATION_COMMENT | 1284 * DOCUMENTATION_COMMENT |
| 1270 * TOP_LEVEL_DECLARATION | 1285 * TOP_LEVEL_DECLARATION |
| 1271 * } | 1286 * } |
| 1272 */ | 1287 */ |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2128 * | 2143 * |
| 2129 * { | 2144 * { |
| 2130 * "newName": String | 2145 * "newName": String |
| 2131 * } | 2146 * } |
| 2132 */ | 2147 */ |
| 2133 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2148 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2134 "rename options", { | 2149 "rename options", { |
| 2135 "newName": isString | 2150 "newName": isString |
| 2136 })); | 2151 })); |
| 2137 | 2152 |
| OLD | NEW |