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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 * { | 146 * { |
147 * "hovers": List<HoverInformation> | 147 * "hovers": List<HoverInformation> |
148 * } | 148 * } |
149 */ | 149 */ |
150 final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb
ject( | 150 final Matcher isAnalysisGetHoverResult = new LazyMatcher(() => new MatchesJsonOb
ject( |
151 "analysis.getHover result", { | 151 "analysis.getHover result", { |
152 "hovers": isListOf(isHoverInformation) | 152 "hovers": isListOf(isHoverInformation) |
153 })); | 153 })); |
154 | 154 |
155 /** | 155 /** |
| 156 * analysis.getReachableSources params |
| 157 * |
| 158 * { |
| 159 * "file": FilePath |
| 160 * } |
| 161 */ |
| 162 final Matcher isAnalysisGetReachableSourcesParams = new LazyMatcher(() => new Ma
tchesJsonObject( |
| 163 "analysis.getReachableSources params", { |
| 164 "file": isFilePath |
| 165 })); |
| 166 |
| 167 /** |
| 168 * analysis.getReachableSources result |
| 169 * |
| 170 * { |
| 171 * "sources": Map<String, List<String>> |
| 172 * } |
| 173 */ |
| 174 final Matcher isAnalysisGetReachableSourcesResult = new LazyMatcher(() => new Ma
tchesJsonObject( |
| 175 "analysis.getReachableSources result", { |
| 176 "sources": isMapOf(isString, isListOf(isString)) |
| 177 })); |
| 178 |
| 179 /** |
156 * analysis.getLibraryDependencies params | 180 * analysis.getLibraryDependencies params |
157 */ | 181 */ |
158 final Matcher isAnalysisGetLibraryDependenciesParams = isNull; | 182 final Matcher isAnalysisGetLibraryDependenciesParams = isNull; |
159 | 183 |
160 /** | 184 /** |
161 * analysis.getLibraryDependencies result | 185 * analysis.getLibraryDependencies result |
162 * | 186 * |
163 * { | 187 * { |
164 * "libraries": List<FilePath> | 188 * "libraries": List<FilePath> |
165 * "packageMap": Map<String, Map<String, List<FilePath>>> | 189 * "packageMap": Map<String, Map<String, List<FilePath>>> |
(...skipping 1904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2070 /** | 2094 /** |
2071 * RequestErrorCode | 2095 * RequestErrorCode |
2072 * | 2096 * |
2073 * enum { | 2097 * enum { |
2074 * CONTENT_MODIFIED | 2098 * CONTENT_MODIFIED |
2075 * FILE_NOT_ANALYZED | 2099 * FILE_NOT_ANALYZED |
2076 * FORMAT_INVALID_FILE | 2100 * FORMAT_INVALID_FILE |
2077 * FORMAT_WITH_ERRORS | 2101 * FORMAT_WITH_ERRORS |
2078 * GET_ERRORS_INVALID_FILE | 2102 * GET_ERRORS_INVALID_FILE |
2079 * GET_NAVIGATION_INVALID_FILE | 2103 * GET_NAVIGATION_INVALID_FILE |
| 2104 * GET_REACHABLE_SOURCES_INVALID_FILE |
2080 * INVALID_ANALYSIS_ROOT | 2105 * INVALID_ANALYSIS_ROOT |
2081 * INVALID_EXECUTION_CONTEXT | 2106 * INVALID_EXECUTION_CONTEXT |
2082 * INVALID_OVERLAY_CHANGE | 2107 * INVALID_OVERLAY_CHANGE |
2083 * INVALID_PARAMETER | 2108 * INVALID_PARAMETER |
2084 * INVALID_REQUEST | 2109 * INVALID_REQUEST |
2085 * NO_INDEX_GENERATED | 2110 * NO_INDEX_GENERATED |
2086 * ORGANIZE_DIRECTIVES_ERROR | 2111 * ORGANIZE_DIRECTIVES_ERROR |
2087 * REFACTORING_REQUEST_CANCELLED | 2112 * REFACTORING_REQUEST_CANCELLED |
2088 * SERVER_ALREADY_STARTED | 2113 * SERVER_ALREADY_STARTED |
2089 * SERVER_ERROR | 2114 * SERVER_ERROR |
2090 * SORT_MEMBERS_INVALID_FILE | 2115 * SORT_MEMBERS_INVALID_FILE |
2091 * SORT_MEMBERS_PARSE_ERRORS | 2116 * SORT_MEMBERS_PARSE_ERRORS |
2092 * UNANALYZED_PRIORITY_FILES | 2117 * UNANALYZED_PRIORITY_FILES |
2093 * UNKNOWN_REQUEST | 2118 * UNKNOWN_REQUEST |
2094 * UNKNOWN_SOURCE | 2119 * UNKNOWN_SOURCE |
2095 * UNSUPPORTED_FEATURE | 2120 * UNSUPPORTED_FEATURE |
2096 * } | 2121 * } |
2097 */ | 2122 */ |
2098 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ | 2123 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
2099 "CONTENT_MODIFIED", | 2124 "CONTENT_MODIFIED", |
2100 "FILE_NOT_ANALYZED", | 2125 "FILE_NOT_ANALYZED", |
2101 "FORMAT_INVALID_FILE", | 2126 "FORMAT_INVALID_FILE", |
2102 "FORMAT_WITH_ERRORS", | 2127 "FORMAT_WITH_ERRORS", |
2103 "GET_ERRORS_INVALID_FILE", | 2128 "GET_ERRORS_INVALID_FILE", |
2104 "GET_NAVIGATION_INVALID_FILE", | 2129 "GET_NAVIGATION_INVALID_FILE", |
| 2130 "GET_REACHABLE_SOURCES_INVALID_FILE", |
2105 "INVALID_ANALYSIS_ROOT", | 2131 "INVALID_ANALYSIS_ROOT", |
2106 "INVALID_EXECUTION_CONTEXT", | 2132 "INVALID_EXECUTION_CONTEXT", |
2107 "INVALID_OVERLAY_CHANGE", | 2133 "INVALID_OVERLAY_CHANGE", |
2108 "INVALID_PARAMETER", | 2134 "INVALID_PARAMETER", |
2109 "INVALID_REQUEST", | 2135 "INVALID_REQUEST", |
2110 "NO_INDEX_GENERATED", | 2136 "NO_INDEX_GENERATED", |
2111 "ORGANIZE_DIRECTIVES_ERROR", | 2137 "ORGANIZE_DIRECTIVES_ERROR", |
2112 "REFACTORING_REQUEST_CANCELLED", | 2138 "REFACTORING_REQUEST_CANCELLED", |
2113 "SERVER_ALREADY_STARTED", | 2139 "SERVER_ALREADY_STARTED", |
2114 "SERVER_ERROR", | 2140 "SERVER_ERROR", |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2449 * | 2475 * |
2450 * { | 2476 * { |
2451 * "newName": String | 2477 * "newName": String |
2452 * } | 2478 * } |
2453 */ | 2479 */ |
2454 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2480 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2455 "rename options", { | 2481 "rename options", { |
2456 "newName": isString | 2482 "newName": isString |
2457 })); | 2483 })); |
2458 | 2484 |
OLD | NEW |