| 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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 | 754 |
| 755 /** | 755 /** |
| 756 * execution.setSubscriptions result | 756 * execution.setSubscriptions result |
| 757 */ | 757 */ |
| 758 final Matcher isExecutionSetSubscriptionsResult = isNull; | 758 final Matcher isExecutionSetSubscriptionsResult = isNull; |
| 759 | 759 |
| 760 /** | 760 /** |
| 761 * execution.launchData params | 761 * execution.launchData params |
| 762 * | 762 * |
| 763 * { | 763 * { |
| 764 * "executables": List<ExecutableFile> | 764 * "file": FilePath |
| 765 * "dartToHtml": Map<FilePath, List<FilePath>> | 765 * "kind": optional ExecutableKind |
| 766 * "htmlToDart": Map<FilePath, List<FilePath>> | 766 * "referencedFiles": optional List<FilePath> |
| 767 * } | 767 * } |
| 768 */ | 768 */ |
| 769 final Matcher isExecutionLaunchDataParams = new LazyMatcher(() => new MatchesJso
nObject( | 769 final Matcher isExecutionLaunchDataParams = new LazyMatcher(() => new MatchesJso
nObject( |
| 770 "execution.launchData params", { | 770 "execution.launchData params", { |
| 771 "executables": isListOf(isExecutableFile), | 771 "file": isFilePath |
| 772 "dartToHtml": isMapOf(isFilePath, isListOf(isFilePath)), | 772 }, optionalFields: { |
| 773 "htmlToDart": isMapOf(isFilePath, isListOf(isFilePath)) | 773 "kind": isExecutableKind, |
| 774 "referencedFiles": isListOf(isFilePath) |
| 774 })); | 775 })); |
| 775 | 776 |
| 776 /** | 777 /** |
| 777 * AddContentOverlay | 778 * AddContentOverlay |
| 778 * | 779 * |
| 779 * { | 780 * { |
| 780 * "type": "add" | 781 * "type": "add" |
| 781 * "content": String | 782 * "content": String |
| 782 * } | 783 * } |
| 783 */ | 784 */ |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1137 "file": isFilePath, | 1138 "file": isFilePath, |
| 1138 "kind": isExecutableKind | 1139 "kind": isExecutableKind |
| 1139 })); | 1140 })); |
| 1140 | 1141 |
| 1141 /** | 1142 /** |
| 1142 * ExecutableKind | 1143 * ExecutableKind |
| 1143 * | 1144 * |
| 1144 * enum { | 1145 * enum { |
| 1145 * CLIENT | 1146 * CLIENT |
| 1146 * EITHER | 1147 * EITHER |
| 1148 * NOT_EXECUTABLE |
| 1147 * SERVER | 1149 * SERVER |
| 1148 * } | 1150 * } |
| 1149 */ | 1151 */ |
| 1150 final Matcher isExecutableKind = new MatchesEnum("ExecutableKind", [ | 1152 final Matcher isExecutableKind = new MatchesEnum("ExecutableKind", [ |
| 1151 "CLIENT", | 1153 "CLIENT", |
| 1152 "EITHER", | 1154 "EITHER", |
| 1155 "NOT_EXECUTABLE", |
| 1153 "SERVER" | 1156 "SERVER" |
| 1154 ]); | 1157 ]); |
| 1155 | 1158 |
| 1156 /** | 1159 /** |
| 1157 * ExecutionContextId | 1160 * ExecutionContextId |
| 1158 * | 1161 * |
| 1159 * String | 1162 * String |
| 1160 */ | 1163 */ |
| 1161 final Matcher isExecutionContextId = isString; | 1164 final Matcher isExecutionContextId = isString; |
| 1162 | 1165 |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2011 /** | 2014 /** |
| 2012 * sortMembers feedback | 2015 * sortMembers feedback |
| 2013 */ | 2016 */ |
| 2014 final Matcher isSortMembersFeedback = isNull; | 2017 final Matcher isSortMembersFeedback = isNull; |
| 2015 | 2018 |
| 2016 /** | 2019 /** |
| 2017 * sortMembers options | 2020 * sortMembers options |
| 2018 */ | 2021 */ |
| 2019 final Matcher isSortMembersOptions = isNull; | 2022 final Matcher isSortMembersOptions = isNull; |
| 2020 | 2023 |
| OLD | NEW |