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 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 * ElementKind | 1287 * ElementKind |
1288 * | 1288 * |
1289 * enum { | 1289 * enum { |
1290 * CLASS | 1290 * CLASS |
1291 * CLASS_TYPE_ALIAS | 1291 * CLASS_TYPE_ALIAS |
1292 * COMPILATION_UNIT | 1292 * COMPILATION_UNIT |
1293 * CONSTRUCTOR | 1293 * CONSTRUCTOR |
1294 * ENUM | 1294 * ENUM |
1295 * ENUM_CONSTANT | 1295 * ENUM_CONSTANT |
1296 * FIELD | 1296 * FIELD |
| 1297 * FILE |
1297 * FUNCTION | 1298 * FUNCTION |
1298 * FUNCTION_TYPE_ALIAS | 1299 * FUNCTION_TYPE_ALIAS |
1299 * GETTER | 1300 * GETTER |
1300 * LABEL | 1301 * LABEL |
1301 * LIBRARY | 1302 * LIBRARY |
1302 * LOCAL_VARIABLE | 1303 * LOCAL_VARIABLE |
1303 * METHOD | 1304 * METHOD |
1304 * PARAMETER | 1305 * PARAMETER |
1305 * PREFIX | 1306 * PREFIX |
1306 * SETTER | 1307 * SETTER |
1307 * TOP_LEVEL_VARIABLE | 1308 * TOP_LEVEL_VARIABLE |
1308 * TYPE_PARAMETER | 1309 * TYPE_PARAMETER |
1309 * UNIT_TEST_GROUP | 1310 * UNIT_TEST_GROUP |
1310 * UNIT_TEST_TEST | 1311 * UNIT_TEST_TEST |
1311 * UNKNOWN | 1312 * UNKNOWN |
1312 * } | 1313 * } |
1313 */ | 1314 */ |
1314 final Matcher isElementKind = new MatchesEnum("ElementKind", [ | 1315 final Matcher isElementKind = new MatchesEnum("ElementKind", [ |
1315 "CLASS", | 1316 "CLASS", |
1316 "CLASS_TYPE_ALIAS", | 1317 "CLASS_TYPE_ALIAS", |
1317 "COMPILATION_UNIT", | 1318 "COMPILATION_UNIT", |
1318 "CONSTRUCTOR", | 1319 "CONSTRUCTOR", |
1319 "ENUM", | 1320 "ENUM", |
1320 "ENUM_CONSTANT", | 1321 "ENUM_CONSTANT", |
1321 "FIELD", | 1322 "FIELD", |
| 1323 "FILE", |
1322 "FUNCTION", | 1324 "FUNCTION", |
1323 "FUNCTION_TYPE_ALIAS", | 1325 "FUNCTION_TYPE_ALIAS", |
1324 "GETTER", | 1326 "GETTER", |
1325 "LABEL", | 1327 "LABEL", |
1326 "LIBRARY", | 1328 "LIBRARY", |
1327 "LOCAL_VARIABLE", | 1329 "LOCAL_VARIABLE", |
1328 "METHOD", | 1330 "METHOD", |
1329 "PARAMETER", | 1331 "PARAMETER", |
1330 "PREFIX", | 1332 "PREFIX", |
1331 "SETTER", | 1333 "SETTER", |
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2407 * | 2409 * |
2408 * { | 2410 * { |
2409 * "newName": String | 2411 * "newName": String |
2410 * } | 2412 * } |
2411 */ | 2413 */ |
2412 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2414 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2413 "rename options", { | 2415 "rename options", { |
2414 "newName": isString | 2416 "newName": isString |
2415 })); | 2417 })); |
2416 | 2418 |
OLD | NEW |