| 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 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1607 "code": isRequestErrorCode, | 1607 "code": isRequestErrorCode, |
| 1608 "message": isString | 1608 "message": isString |
| 1609 }, optionalFields: { | 1609 }, optionalFields: { |
| 1610 "data": isObject | 1610 "data": isObject |
| 1611 })); | 1611 })); |
| 1612 | 1612 |
| 1613 /** | 1613 /** |
| 1614 * RequestErrorCode | 1614 * RequestErrorCode |
| 1615 * | 1615 * |
| 1616 * enum { | 1616 * enum { |
| 1617 * GET_ERRORS_ERROR | 1617 * GET_ERRORS_INVALID_FILE |
| 1618 * INVALID_PARAMETER | 1618 * INVALID_PARAMETER |
| 1619 * INVALID_REQUEST | 1619 * INVALID_REQUEST |
| 1620 * SERVER_ALREADY_STARTED | 1620 * SERVER_ALREADY_STARTED |
| 1621 * UNANALYZED_PRIORITY_FILES | 1621 * UNANALYZED_PRIORITY_FILES |
| 1622 * UNKNOWN_REQUEST | 1622 * UNKNOWN_REQUEST |
| 1623 * UNSUPPORTED_FEATURE | 1623 * UNSUPPORTED_FEATURE |
| 1624 * } | 1624 * } |
| 1625 */ | 1625 */ |
| 1626 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ | 1626 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
| 1627 "GET_ERRORS_ERROR", | 1627 "GET_ERRORS_INVALID_FILE", |
| 1628 "INVALID_PARAMETER", | 1628 "INVALID_PARAMETER", |
| 1629 "INVALID_REQUEST", | 1629 "INVALID_REQUEST", |
| 1630 "SERVER_ALREADY_STARTED", | 1630 "SERVER_ALREADY_STARTED", |
| 1631 "UNANALYZED_PRIORITY_FILES", | 1631 "UNANALYZED_PRIORITY_FILES", |
| 1632 "UNKNOWN_REQUEST", | 1632 "UNKNOWN_REQUEST", |
| 1633 "UNSUPPORTED_FEATURE" | 1633 "UNSUPPORTED_FEATURE" |
| 1634 ]); | 1634 ]); |
| 1635 | 1635 |
| 1636 /** | 1636 /** |
| 1637 * SearchId | 1637 * SearchId |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1913 * | 1913 * |
| 1914 * { | 1914 * { |
| 1915 * "newName": String | 1915 * "newName": String |
| 1916 * } | 1916 * } |
| 1917 */ | 1917 */ |
| 1918 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1918 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1919 "rename options", { | 1919 "rename options", { |
| 1920 "newName": isString | 1920 "newName": isString |
| 1921 })); | 1921 })); |
| 1922 | 1922 |
| OLD | NEW |