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 1806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1817 }, optionalFields: { | 1817 }, optionalFields: { |
1818 "stackTrace": isString | 1818 "stackTrace": isString |
1819 })); | 1819 })); |
1820 | 1820 |
1821 /** | 1821 /** |
1822 * RequestErrorCode | 1822 * RequestErrorCode |
1823 * | 1823 * |
1824 * enum { | 1824 * enum { |
1825 * CONTENT_MODIFIED | 1825 * CONTENT_MODIFIED |
1826 * FORMAT_INVALID_FILE | 1826 * FORMAT_INVALID_FILE |
| 1827 * FORMAT_WITH_ERRORS |
1827 * GET_ERRORS_INVALID_FILE | 1828 * GET_ERRORS_INVALID_FILE |
1828 * INVALID_ANALYSIS_ROOT | 1829 * INVALID_ANALYSIS_ROOT |
1829 * INVALID_EXECUTION_CONTEXT | 1830 * INVALID_EXECUTION_CONTEXT |
1830 * INVALID_OVERLAY_CHANGE | 1831 * INVALID_OVERLAY_CHANGE |
1831 * INVALID_PARAMETER | 1832 * INVALID_PARAMETER |
1832 * INVALID_REQUEST | 1833 * INVALID_REQUEST |
1833 * NO_INDEX_GENERATED | 1834 * NO_INDEX_GENERATED |
1834 * REFACTORING_REQUEST_CANCELLED | 1835 * REFACTORING_REQUEST_CANCELLED |
1835 * SERVER_ALREADY_STARTED | 1836 * SERVER_ALREADY_STARTED |
1836 * SERVER_ERROR | 1837 * SERVER_ERROR |
1837 * SORT_MEMBERS_INVALID_FILE | 1838 * SORT_MEMBERS_INVALID_FILE |
1838 * SORT_MEMBERS_PARSE_ERRORS | 1839 * SORT_MEMBERS_PARSE_ERRORS |
1839 * UNANALYZED_PRIORITY_FILES | 1840 * UNANALYZED_PRIORITY_FILES |
1840 * UNKNOWN_REQUEST | 1841 * UNKNOWN_REQUEST |
1841 * UNKNOWN_SOURCE | 1842 * UNKNOWN_SOURCE |
1842 * UNSUPPORTED_FEATURE | 1843 * UNSUPPORTED_FEATURE |
1843 * } | 1844 * } |
1844 */ | 1845 */ |
1845 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ | 1846 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
1846 "CONTENT_MODIFIED", | 1847 "CONTENT_MODIFIED", |
1847 "FORMAT_INVALID_FILE", | 1848 "FORMAT_INVALID_FILE", |
| 1849 "FORMAT_WITH_ERRORS", |
1848 "GET_ERRORS_INVALID_FILE", | 1850 "GET_ERRORS_INVALID_FILE", |
1849 "INVALID_ANALYSIS_ROOT", | 1851 "INVALID_ANALYSIS_ROOT", |
1850 "INVALID_EXECUTION_CONTEXT", | 1852 "INVALID_EXECUTION_CONTEXT", |
1851 "INVALID_OVERLAY_CHANGE", | 1853 "INVALID_OVERLAY_CHANGE", |
1852 "INVALID_PARAMETER", | 1854 "INVALID_PARAMETER", |
1853 "INVALID_REQUEST", | 1855 "INVALID_REQUEST", |
1854 "NO_INDEX_GENERATED", | 1856 "NO_INDEX_GENERATED", |
1855 "REFACTORING_REQUEST_CANCELLED", | 1857 "REFACTORING_REQUEST_CANCELLED", |
1856 "SERVER_ALREADY_STARTED", | 1858 "SERVER_ALREADY_STARTED", |
1857 "SERVER_ERROR", | 1859 "SERVER_ERROR", |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2187 * | 2189 * |
2188 * { | 2190 * { |
2189 * "newName": String | 2191 * "newName": String |
2190 * } | 2192 * } |
2191 */ | 2193 */ |
2192 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2194 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2193 "rename options", { | 2195 "rename options", { |
2194 "newName": isString | 2196 "newName": isString |
2195 })); | 2197 })); |
2196 | 2198 |
OLD | NEW |