| 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/spec/generate_files". | 7 // "pkg/analysis_server/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 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1028 }); | 1028 }); |
| 1029 | 1029 |
| 1030 /** | 1030 /** |
| 1031 * ElementKind | 1031 * ElementKind |
| 1032 * | 1032 * |
| 1033 * enum { | 1033 * enum { |
| 1034 * CLASS | 1034 * CLASS |
| 1035 * CLASS_TYPE_ALIAS | 1035 * CLASS_TYPE_ALIAS |
| 1036 * COMPILATION_UNIT | 1036 * COMPILATION_UNIT |
| 1037 * CONSTRUCTOR | 1037 * CONSTRUCTOR |
| 1038 * GETTER | |
| 1039 * FIELD | 1038 * FIELD |
| 1040 * FUNCTION | 1039 * FUNCTION |
| 1041 * FUNCTION_TYPE_ALIAS | 1040 * FUNCTION_TYPE_ALIAS |
| 1041 * GETTER |
| 1042 * LIBRARY | 1042 * LIBRARY |
| 1043 * LOCAL_VARIABLE | 1043 * LOCAL_VARIABLE |
| 1044 * METHOD | 1044 * METHOD |
| 1045 * PARAMETER |
| 1045 * SETTER | 1046 * SETTER |
| 1046 * TOP_LEVEL_VARIABLE | 1047 * TOP_LEVEL_VARIABLE |
| 1047 * TYPE_PARAMETER | 1048 * TYPE_PARAMETER |
| 1048 * UNKNOWN | |
| 1049 * UNIT_TEST_GROUP | 1049 * UNIT_TEST_GROUP |
| 1050 * UNIT_TEST_TEST | 1050 * UNIT_TEST_TEST |
| 1051 * UNKNOWN |
| 1051 * } | 1052 * } |
| 1052 */ | 1053 */ |
| 1053 final Matcher isElementKind = new MatchesEnum("ElementKind", [ | 1054 final Matcher isElementKind = new MatchesEnum("ElementKind", [ |
| 1054 "CLASS", | 1055 "CLASS", |
| 1055 "CLASS_TYPE_ALIAS", | 1056 "CLASS_TYPE_ALIAS", |
| 1056 "COMPILATION_UNIT", | 1057 "COMPILATION_UNIT", |
| 1057 "CONSTRUCTOR", | 1058 "CONSTRUCTOR", |
| 1058 "GETTER", | |
| 1059 "FIELD", | 1059 "FIELD", |
| 1060 "FUNCTION", | 1060 "FUNCTION", |
| 1061 "FUNCTION_TYPE_ALIAS", | 1061 "FUNCTION_TYPE_ALIAS", |
| 1062 "GETTER", |
| 1062 "LIBRARY", | 1063 "LIBRARY", |
| 1063 "LOCAL_VARIABLE", | 1064 "LOCAL_VARIABLE", |
| 1064 "METHOD", | 1065 "METHOD", |
| 1066 "PARAMETER", |
| 1065 "SETTER", | 1067 "SETTER", |
| 1066 "TOP_LEVEL_VARIABLE", | 1068 "TOP_LEVEL_VARIABLE", |
| 1067 "TYPE_PARAMETER", | 1069 "TYPE_PARAMETER", |
| 1068 "UNKNOWN", | |
| 1069 "UNIT_TEST_GROUP", | 1070 "UNIT_TEST_GROUP", |
| 1070 "UNIT_TEST_TEST" | 1071 "UNIT_TEST_TEST", |
| 1072 "UNKNOWN" |
| 1071 ]); | 1073 ]); |
| 1072 | 1074 |
| 1073 /** | 1075 /** |
| 1074 * Error | 1076 * Error |
| 1075 * | 1077 * |
| 1076 * { | 1078 * { |
| 1077 * "code": String | 1079 * "code": String |
| 1078 * "message": String | 1080 * "message": String |
| 1079 * "data": optional object | 1081 * "data": optional object |
| 1080 * } | 1082 * } |
| (...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1880 * | 1882 * |
| 1881 * { | 1883 * { |
| 1882 * "newName": String | 1884 * "newName": String |
| 1883 * } | 1885 * } |
| 1884 */ | 1886 */ |
| 1885 final Matcher isRenameOptions = new MatchesJsonObject( | 1887 final Matcher isRenameOptions = new MatchesJsonObject( |
| 1886 "rename options", { | 1888 "rename options", { |
| 1887 "newName": isString | 1889 "newName": isString |
| 1888 }); | 1890 }); |
| 1889 | 1891 |
| OLD | NEW |