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 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1185 })); | 1185 })); |
1186 | 1186 |
1187 /** | 1187 /** |
1188 * ElementKind | 1188 * ElementKind |
1189 * | 1189 * |
1190 * enum { | 1190 * enum { |
1191 * CLASS | 1191 * CLASS |
1192 * CLASS_TYPE_ALIAS | 1192 * CLASS_TYPE_ALIAS |
1193 * COMPILATION_UNIT | 1193 * COMPILATION_UNIT |
1194 * CONSTRUCTOR | 1194 * CONSTRUCTOR |
| 1195 * ENUM |
| 1196 * ENUM_CONSTANT |
1195 * FIELD | 1197 * FIELD |
1196 * FUNCTION | 1198 * FUNCTION |
1197 * FUNCTION_TYPE_ALIAS | 1199 * FUNCTION_TYPE_ALIAS |
1198 * GETTER | 1200 * GETTER |
1199 * LABEL | 1201 * LABEL |
1200 * LIBRARY | 1202 * LIBRARY |
1201 * LOCAL_VARIABLE | 1203 * LOCAL_VARIABLE |
1202 * METHOD | 1204 * METHOD |
1203 * PARAMETER | 1205 * PARAMETER |
1204 * PREFIX | 1206 * PREFIX |
1205 * SETTER | 1207 * SETTER |
1206 * TOP_LEVEL_VARIABLE | 1208 * TOP_LEVEL_VARIABLE |
1207 * TYPE_PARAMETER | 1209 * TYPE_PARAMETER |
1208 * UNIT_TEST_GROUP | 1210 * UNIT_TEST_GROUP |
1209 * UNIT_TEST_TEST | 1211 * UNIT_TEST_TEST |
1210 * UNKNOWN | 1212 * UNKNOWN |
1211 * } | 1213 * } |
1212 */ | 1214 */ |
1213 final Matcher isElementKind = new MatchesEnum("ElementKind", [ | 1215 final Matcher isElementKind = new MatchesEnum("ElementKind", [ |
1214 "CLASS", | 1216 "CLASS", |
1215 "CLASS_TYPE_ALIAS", | 1217 "CLASS_TYPE_ALIAS", |
1216 "COMPILATION_UNIT", | 1218 "COMPILATION_UNIT", |
1217 "CONSTRUCTOR", | 1219 "CONSTRUCTOR", |
| 1220 "ENUM", |
| 1221 "ENUM_CONSTANT", |
1218 "FIELD", | 1222 "FIELD", |
1219 "FUNCTION", | 1223 "FUNCTION", |
1220 "FUNCTION_TYPE_ALIAS", | 1224 "FUNCTION_TYPE_ALIAS", |
1221 "GETTER", | 1225 "GETTER", |
1222 "LABEL", | 1226 "LABEL", |
1223 "LIBRARY", | 1227 "LIBRARY", |
1224 "LOCAL_VARIABLE", | 1228 "LOCAL_VARIABLE", |
1225 "METHOD", | 1229 "METHOD", |
1226 "PARAMETER", | 1230 "PARAMETER", |
1227 "PREFIX", | 1231 "PREFIX", |
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2164 * | 2168 * |
2165 * { | 2169 * { |
2166 * "newName": String | 2170 * "newName": String |
2167 * } | 2171 * } |
2168 */ | 2172 */ |
2169 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2173 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2170 "rename options", { | 2174 "rename options", { |
2171 "newName": isString | 2175 "newName": isString |
2172 })); | 2176 })); |
2173 | 2177 |
OLD | NEW |