| 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 1756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1767 "message": isString | 1767 "message": isString |
| 1768 }, optionalFields: { | 1768 }, optionalFields: { |
| 1769 "stackTrace": isString | 1769 "stackTrace": isString |
| 1770 })); | 1770 })); |
| 1771 | 1771 |
| 1772 /** | 1772 /** |
| 1773 * RequestErrorCode | 1773 * RequestErrorCode |
| 1774 * | 1774 * |
| 1775 * enum { | 1775 * enum { |
| 1776 * CONTENT_MODIFIED | 1776 * CONTENT_MODIFIED |
| 1777 * FORMAT_INVALID_FILE |
| 1777 * GET_ERRORS_INVALID_FILE | 1778 * GET_ERRORS_INVALID_FILE |
| 1778 * INVALID_OVERLAY_CHANGE | 1779 * INVALID_OVERLAY_CHANGE |
| 1779 * INVALID_PARAMETER | 1780 * INVALID_PARAMETER |
| 1780 * INVALID_REQUEST | 1781 * INVALID_REQUEST |
| 1781 * SERVER_ALREADY_STARTED | 1782 * SERVER_ALREADY_STARTED |
| 1782 * SERVER_ERROR | 1783 * SERVER_ERROR |
| 1783 * SORT_MEMBERS_INVALID_FILE | 1784 * SORT_MEMBERS_INVALID_FILE |
| 1784 * SORT_MEMBERS_PARSE_ERRORS | 1785 * SORT_MEMBERS_PARSE_ERRORS |
| 1785 * UNANALYZED_PRIORITY_FILES | 1786 * UNANALYZED_PRIORITY_FILES |
| 1786 * UNKNOWN_REQUEST | 1787 * UNKNOWN_REQUEST |
| 1787 * UNSUPPORTED_FEATURE | 1788 * UNSUPPORTED_FEATURE |
| 1788 * } | 1789 * } |
| 1789 */ | 1790 */ |
| 1790 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ | 1791 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
| 1791 "CONTENT_MODIFIED", | 1792 "CONTENT_MODIFIED", |
| 1793 "FORMAT_INVALID_FILE", |
| 1792 "GET_ERRORS_INVALID_FILE", | 1794 "GET_ERRORS_INVALID_FILE", |
| 1793 "INVALID_OVERLAY_CHANGE", | 1795 "INVALID_OVERLAY_CHANGE", |
| 1794 "INVALID_PARAMETER", | 1796 "INVALID_PARAMETER", |
| 1795 "INVALID_REQUEST", | 1797 "INVALID_REQUEST", |
| 1796 "SERVER_ALREADY_STARTED", | 1798 "SERVER_ALREADY_STARTED", |
| 1797 "SERVER_ERROR", | 1799 "SERVER_ERROR", |
| 1798 "SORT_MEMBERS_INVALID_FILE", | 1800 "SORT_MEMBERS_INVALID_FILE", |
| 1799 "SORT_MEMBERS_PARSE_ERRORS", | 1801 "SORT_MEMBERS_PARSE_ERRORS", |
| 1800 "UNANALYZED_PRIORITY_FILES", | 1802 "UNANALYZED_PRIORITY_FILES", |
| 1801 "UNKNOWN_REQUEST", | 1803 "UNKNOWN_REQUEST", |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2126 * | 2128 * |
| 2127 * { | 2129 * { |
| 2128 * "newName": String | 2130 * "newName": String |
| 2129 * } | 2131 * } |
| 2130 */ | 2132 */ |
| 2131 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2133 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2132 "rename options", { | 2134 "rename options", { |
| 2133 "newName": isString | 2135 "newName": isString |
| 2134 })); | 2136 })); |
| 2135 | 2137 |
| OLD | NEW |