| 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 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1171 /** | 1171 /** |
| 1172 * Element | 1172 * Element |
| 1173 * | 1173 * |
| 1174 * { | 1174 * { |
| 1175 * "kind": ElementKind | 1175 * "kind": ElementKind |
| 1176 * "name": String | 1176 * "name": String |
| 1177 * "location": optional Location | 1177 * "location": optional Location |
| 1178 * "flags": int | 1178 * "flags": int |
| 1179 * "parameters": optional String | 1179 * "parameters": optional String |
| 1180 * "returnType": optional String | 1180 * "returnType": optional String |
| 1181 * "typeParameters": optional String |
| 1181 * } | 1182 * } |
| 1182 */ | 1183 */ |
| 1183 final Matcher isElement = new LazyMatcher(() => new MatchesJsonObject( | 1184 final Matcher isElement = new LazyMatcher(() => new MatchesJsonObject( |
| 1184 "Element", { | 1185 "Element", { |
| 1185 "kind": isElementKind, | 1186 "kind": isElementKind, |
| 1186 "name": isString, | 1187 "name": isString, |
| 1187 "flags": isInt | 1188 "flags": isInt |
| 1188 }, optionalFields: { | 1189 }, optionalFields: { |
| 1189 "location": isLocation, | 1190 "location": isLocation, |
| 1190 "parameters": isString, | 1191 "parameters": isString, |
| 1191 "returnType": isString | 1192 "returnType": isString, |
| 1193 "typeParameters": isString |
| 1192 })); | 1194 })); |
| 1193 | 1195 |
| 1194 /** | 1196 /** |
| 1195 * ElementKind | 1197 * ElementKind |
| 1196 * | 1198 * |
| 1197 * enum { | 1199 * enum { |
| 1198 * CLASS | 1200 * CLASS |
| 1199 * CLASS_TYPE_ALIAS | 1201 * CLASS_TYPE_ALIAS |
| 1200 * COMPILATION_UNIT | 1202 * COMPILATION_UNIT |
| 1201 * CONSTRUCTOR | 1203 * CONSTRUCTOR |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2175 * | 2177 * |
| 2176 * { | 2178 * { |
| 2177 * "newName": String | 2179 * "newName": String |
| 2178 * } | 2180 * } |
| 2179 */ | 2181 */ |
| 2180 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2182 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2181 "rename options", { | 2183 "rename options", { |
| 2182 "newName": isString | 2184 "newName": isString |
| 2183 })); | 2185 })); |
| 2184 | 2186 |
| OLD | NEW |