| 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 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1764 "replacement": isString | 1764 "replacement": isString |
| 1765 }, optionalFields: { | 1765 }, optionalFields: { |
| 1766 "id": isString | 1766 "id": isString |
| 1767 })); | 1767 })); |
| 1768 | 1768 |
| 1769 /** | 1769 /** |
| 1770 * SourceFileEdit | 1770 * SourceFileEdit |
| 1771 * | 1771 * |
| 1772 * { | 1772 * { |
| 1773 * "file": FilePath | 1773 * "file": FilePath |
| 1774 * "fileStamp": long |
| 1774 * "edits": List<SourceEdit> | 1775 * "edits": List<SourceEdit> |
| 1775 * } | 1776 * } |
| 1776 */ | 1777 */ |
| 1777 final Matcher isSourceFileEdit = new LazyMatcher(() => new MatchesJsonObject( | 1778 final Matcher isSourceFileEdit = new LazyMatcher(() => new MatchesJsonObject( |
| 1778 "SourceFileEdit", { | 1779 "SourceFileEdit", { |
| 1779 "file": isFilePath, | 1780 "file": isFilePath, |
| 1781 "fileStamp": isInt, |
| 1780 "edits": isListOf(isSourceEdit) | 1782 "edits": isListOf(isSourceEdit) |
| 1781 })); | 1783 })); |
| 1782 | 1784 |
| 1783 /** | 1785 /** |
| 1784 * TypeHierarchyItem | 1786 * TypeHierarchyItem |
| 1785 * | 1787 * |
| 1786 * { | 1788 * { |
| 1787 * "classElement": Element | 1789 * "classElement": Element |
| 1788 * "displayName": optional String | 1790 * "displayName": optional String |
| 1789 * "memberElement": optional Element | 1791 * "memberElement": optional Element |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1974 * | 1976 * |
| 1975 * { | 1977 * { |
| 1976 * "newName": String | 1978 * "newName": String |
| 1977 * } | 1979 * } |
| 1978 */ | 1980 */ |
| 1979 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1981 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1980 "rename options", { | 1982 "rename options", { |
| 1981 "newName": isString | 1983 "newName": isString |
| 1982 })); | 1984 })); |
| 1983 | 1985 |
| OLD | NEW |