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 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1826 * INVALID_PARAMETER | 1826 * INVALID_PARAMETER |
1827 * INVALID_REQUEST | 1827 * INVALID_REQUEST |
1828 * NO_INDEX_GENERATED | 1828 * NO_INDEX_GENERATED |
1829 * REFACTORING_REQUEST_CANCELLED | 1829 * REFACTORING_REQUEST_CANCELLED |
1830 * SERVER_ALREADY_STARTED | 1830 * SERVER_ALREADY_STARTED |
1831 * SERVER_ERROR | 1831 * SERVER_ERROR |
1832 * SORT_MEMBERS_INVALID_FILE | 1832 * SORT_MEMBERS_INVALID_FILE |
1833 * SORT_MEMBERS_PARSE_ERRORS | 1833 * SORT_MEMBERS_PARSE_ERRORS |
1834 * UNANALYZED_PRIORITY_FILES | 1834 * UNANALYZED_PRIORITY_FILES |
1835 * UNKNOWN_REQUEST | 1835 * UNKNOWN_REQUEST |
| 1836 * UNKNOWN_SOURCE |
1836 * UNSUPPORTED_FEATURE | 1837 * UNSUPPORTED_FEATURE |
1837 * } | 1838 * } |
1838 */ | 1839 */ |
1839 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ | 1840 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
1840 "CONTENT_MODIFIED", | 1841 "CONTENT_MODIFIED", |
1841 "FORMAT_INVALID_FILE", | 1842 "FORMAT_INVALID_FILE", |
1842 "GET_ERRORS_INVALID_FILE", | 1843 "GET_ERRORS_INVALID_FILE", |
1843 "INVALID_EXECUTION_CONTEXT", | 1844 "INVALID_EXECUTION_CONTEXT", |
1844 "INVALID_OVERLAY_CHANGE", | 1845 "INVALID_OVERLAY_CHANGE", |
1845 "INVALID_PARAMETER", | 1846 "INVALID_PARAMETER", |
1846 "INVALID_REQUEST", | 1847 "INVALID_REQUEST", |
1847 "NO_INDEX_GENERATED", | 1848 "NO_INDEX_GENERATED", |
1848 "REFACTORING_REQUEST_CANCELLED", | 1849 "REFACTORING_REQUEST_CANCELLED", |
1849 "SERVER_ALREADY_STARTED", | 1850 "SERVER_ALREADY_STARTED", |
1850 "SERVER_ERROR", | 1851 "SERVER_ERROR", |
1851 "SORT_MEMBERS_INVALID_FILE", | 1852 "SORT_MEMBERS_INVALID_FILE", |
1852 "SORT_MEMBERS_PARSE_ERRORS", | 1853 "SORT_MEMBERS_PARSE_ERRORS", |
1853 "UNANALYZED_PRIORITY_FILES", | 1854 "UNANALYZED_PRIORITY_FILES", |
1854 "UNKNOWN_REQUEST", | 1855 "UNKNOWN_REQUEST", |
| 1856 "UNKNOWN_SOURCE", |
1855 "UNSUPPORTED_FEATURE" | 1857 "UNSUPPORTED_FEATURE" |
1856 ]); | 1858 ]); |
1857 | 1859 |
1858 /** | 1860 /** |
1859 * SearchId | 1861 * SearchId |
1860 * | 1862 * |
1861 * String | 1863 * String |
1862 */ | 1864 */ |
1863 final Matcher isSearchId = isString; | 1865 final Matcher isSearchId = isString; |
1864 | 1866 |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2179 * | 2181 * |
2180 * { | 2182 * { |
2181 * "newName": String | 2183 * "newName": String |
2182 * } | 2184 * } |
2183 */ | 2185 */ |
2184 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2186 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2185 "rename options", { | 2187 "rename options", { |
2186 "newName": isString | 2188 "newName": isString |
2187 })); | 2189 })); |
2188 | 2190 |
OLD | NEW |