| 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 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1823 /** | 1823 /** |
| 1824 * extractMethod feedback | 1824 * extractMethod feedback |
| 1825 * | 1825 * |
| 1826 * { | 1826 * { |
| 1827 * "offset": int | 1827 * "offset": int |
| 1828 * "length": int | 1828 * "length": int |
| 1829 * "returnType": String | 1829 * "returnType": String |
| 1830 * "names": List<String> | 1830 * "names": List<String> |
| 1831 * "canCreateGetter": bool | 1831 * "canCreateGetter": bool |
| 1832 * "parameters": List<RefactoringMethodParameter> | 1832 * "parameters": List<RefactoringMethodParameter> |
| 1833 * "occurrences": int | |
| 1834 * "offsets": List<int> | 1833 * "offsets": List<int> |
| 1835 * "lengths": List<int> | 1834 * "lengths": List<int> |
| 1836 * } | 1835 * } |
| 1837 */ | 1836 */ |
| 1838 final Matcher isExtractMethodFeedback = new LazyMatcher(() => new MatchesJsonObj
ect( | 1837 final Matcher isExtractMethodFeedback = new LazyMatcher(() => new MatchesJsonObj
ect( |
| 1839 "extractMethod feedback", { | 1838 "extractMethod feedback", { |
| 1840 "offset": isInt, | 1839 "offset": isInt, |
| 1841 "length": isInt, | 1840 "length": isInt, |
| 1842 "returnType": isString, | 1841 "returnType": isString, |
| 1843 "names": isListOf(isString), | 1842 "names": isListOf(isString), |
| 1844 "canCreateGetter": isBool, | 1843 "canCreateGetter": isBool, |
| 1845 "parameters": isListOf(isRefactoringMethodParameter), | 1844 "parameters": isListOf(isRefactoringMethodParameter), |
| 1846 "occurrences": isInt, | |
| 1847 "offsets": isListOf(isInt), | 1845 "offsets": isListOf(isInt), |
| 1848 "lengths": isListOf(isInt) | 1846 "lengths": isListOf(isInt) |
| 1849 })); | 1847 })); |
| 1850 | 1848 |
| 1851 /** | 1849 /** |
| 1852 * extractMethod options | 1850 * extractMethod options |
| 1853 * | 1851 * |
| 1854 * { | 1852 * { |
| 1855 * "returnType": String | 1853 * "returnType": String |
| 1856 * "createGetter": bool | 1854 * "createGetter": bool |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1916 * | 1914 * |
| 1917 * { | 1915 * { |
| 1918 * "newName": String | 1916 * "newName": String |
| 1919 * } | 1917 * } |
| 1920 */ | 1918 */ |
| 1921 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1919 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1922 "rename options", { | 1920 "rename options", { |
| 1923 "newName": isString | 1921 "newName": isString |
| 1924 })); | 1922 })); |
| 1925 | 1923 |
| OLD | NEW |