| 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 1803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1814 "stackTrace": isString | 1814 "stackTrace": isString |
| 1815 })); | 1815 })); |
| 1816 | 1816 |
| 1817 /** | 1817 /** |
| 1818 * RequestErrorCode | 1818 * RequestErrorCode |
| 1819 * | 1819 * |
| 1820 * enum { | 1820 * enum { |
| 1821 * CONTENT_MODIFIED | 1821 * CONTENT_MODIFIED |
| 1822 * FORMAT_INVALID_FILE | 1822 * FORMAT_INVALID_FILE |
| 1823 * GET_ERRORS_INVALID_FILE | 1823 * GET_ERRORS_INVALID_FILE |
| 1824 * INVALID_ANALYSIS_ROOT |
| 1824 * INVALID_EXECUTION_CONTEXT | 1825 * INVALID_EXECUTION_CONTEXT |
| 1825 * INVALID_OVERLAY_CHANGE | 1826 * INVALID_OVERLAY_CHANGE |
| 1826 * INVALID_PARAMETER | 1827 * INVALID_PARAMETER |
| 1827 * INVALID_REQUEST | 1828 * INVALID_REQUEST |
| 1828 * NO_INDEX_GENERATED | 1829 * NO_INDEX_GENERATED |
| 1829 * REFACTORING_REQUEST_CANCELLED | 1830 * REFACTORING_REQUEST_CANCELLED |
| 1830 * SERVER_ALREADY_STARTED | 1831 * SERVER_ALREADY_STARTED |
| 1831 * SERVER_ERROR | 1832 * SERVER_ERROR |
| 1832 * SORT_MEMBERS_INVALID_FILE | 1833 * SORT_MEMBERS_INVALID_FILE |
| 1833 * SORT_MEMBERS_PARSE_ERRORS | 1834 * SORT_MEMBERS_PARSE_ERRORS |
| 1834 * UNANALYZED_PRIORITY_FILES | 1835 * UNANALYZED_PRIORITY_FILES |
| 1835 * UNKNOWN_REQUEST | 1836 * UNKNOWN_REQUEST |
| 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", |
| 1844 "INVALID_ANALYSIS_ROOT", |
| 1843 "INVALID_EXECUTION_CONTEXT", | 1845 "INVALID_EXECUTION_CONTEXT", |
| 1844 "INVALID_OVERLAY_CHANGE", | 1846 "INVALID_OVERLAY_CHANGE", |
| 1845 "INVALID_PARAMETER", | 1847 "INVALID_PARAMETER", |
| 1846 "INVALID_REQUEST", | 1848 "INVALID_REQUEST", |
| 1847 "NO_INDEX_GENERATED", | 1849 "NO_INDEX_GENERATED", |
| 1848 "REFACTORING_REQUEST_CANCELLED", | 1850 "REFACTORING_REQUEST_CANCELLED", |
| 1849 "SERVER_ALREADY_STARTED", | 1851 "SERVER_ALREADY_STARTED", |
| 1850 "SERVER_ERROR", | 1852 "SERVER_ERROR", |
| 1851 "SORT_MEMBERS_INVALID_FILE", | 1853 "SORT_MEMBERS_INVALID_FILE", |
| 1852 "SORT_MEMBERS_PARSE_ERRORS", | 1854 "SORT_MEMBERS_PARSE_ERRORS", |
| (...skipping 326 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 |