| 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/spec/generate_files". | 7 // "pkg/analysis_server/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 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1626 "message": isString | 1626 "message": isString |
| 1627 }, optionalFields: { | 1627 }, optionalFields: { |
| 1628 "data": isObject | 1628 "data": isObject |
| 1629 })); | 1629 })); |
| 1630 | 1630 |
| 1631 /** | 1631 /** |
| 1632 * RequestErrorCode | 1632 * RequestErrorCode |
| 1633 * | 1633 * |
| 1634 * enum { | 1634 * enum { |
| 1635 * GET_ERRORS_INVALID_FILE | 1635 * GET_ERRORS_INVALID_FILE |
| 1636 * INVALID_OVERLAY_CHANGE |
| 1636 * INVALID_PARAMETER | 1637 * INVALID_PARAMETER |
| 1637 * INVALID_REQUEST | 1638 * INVALID_REQUEST |
| 1638 * SERVER_ALREADY_STARTED | 1639 * SERVER_ALREADY_STARTED |
| 1639 * UNANALYZED_PRIORITY_FILES | 1640 * UNANALYZED_PRIORITY_FILES |
| 1640 * UNKNOWN_REQUEST | 1641 * UNKNOWN_REQUEST |
| 1641 * UNSUPPORTED_FEATURE | 1642 * UNSUPPORTED_FEATURE |
| 1642 * } | 1643 * } |
| 1643 */ | 1644 */ |
| 1644 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ | 1645 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
| 1645 "GET_ERRORS_INVALID_FILE", | 1646 "GET_ERRORS_INVALID_FILE", |
| 1647 "INVALID_OVERLAY_CHANGE", |
| 1646 "INVALID_PARAMETER", | 1648 "INVALID_PARAMETER", |
| 1647 "INVALID_REQUEST", | 1649 "INVALID_REQUEST", |
| 1648 "SERVER_ALREADY_STARTED", | 1650 "SERVER_ALREADY_STARTED", |
| 1649 "UNANALYZED_PRIORITY_FILES", | 1651 "UNANALYZED_PRIORITY_FILES", |
| 1650 "UNKNOWN_REQUEST", | 1652 "UNKNOWN_REQUEST", |
| 1651 "UNSUPPORTED_FEATURE" | 1653 "UNSUPPORTED_FEATURE" |
| 1652 ]); | 1654 ]); |
| 1653 | 1655 |
| 1654 /** | 1656 /** |
| 1655 * SearchId | 1657 * SearchId |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1935 * | 1937 * |
| 1936 * { | 1938 * { |
| 1937 * "newName": String | 1939 * "newName": String |
| 1938 * } | 1940 * } |
| 1939 */ | 1941 */ |
| 1940 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1942 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1941 "rename options", { | 1943 "rename options", { |
| 1942 "newName": isString | 1944 "newName": isString |
| 1943 })); | 1945 })); |
| 1944 | 1946 |
| OLD | NEW |