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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 * { | 846 * { |
847 * "edit": SourceFileEdit | 847 * "edit": SourceFileEdit |
848 * } | 848 * } |
849 */ | 849 */ |
850 final Matcher isEditSortMembersResult = new LazyMatcher(() => new MatchesJsonObj
ect( | 850 final Matcher isEditSortMembersResult = new LazyMatcher(() => new MatchesJsonObj
ect( |
851 "edit.sortMembers result", { | 851 "edit.sortMembers result", { |
852 "edit": isSourceFileEdit | 852 "edit": isSourceFileEdit |
853 })); | 853 })); |
854 | 854 |
855 /** | 855 /** |
| 856 * edit.organizeDirectives params |
| 857 * |
| 858 * { |
| 859 * "file": FilePath |
| 860 * } |
| 861 */ |
| 862 final Matcher isEditOrganizeDirectivesParams = new LazyMatcher(() => new Matches
JsonObject( |
| 863 "edit.organizeDirectives params", { |
| 864 "file": isFilePath |
| 865 })); |
| 866 |
| 867 /** |
| 868 * edit.organizeDirectives result |
| 869 * |
| 870 * { |
| 871 * "edit": SourceFileEdit |
| 872 * } |
| 873 */ |
| 874 final Matcher isEditOrganizeDirectivesResult = new LazyMatcher(() => new Matches
JsonObject( |
| 875 "edit.organizeDirectives result", { |
| 876 "edit": isSourceFileEdit |
| 877 })); |
| 878 |
| 879 /** |
856 * execution.createContext params | 880 * execution.createContext params |
857 * | 881 * |
858 * { | 882 * { |
859 * "contextRoot": FilePath | 883 * "contextRoot": FilePath |
860 * } | 884 * } |
861 */ | 885 */ |
862 final Matcher isExecutionCreateContextParams = new LazyMatcher(() => new Matches
JsonObject( | 886 final Matcher isExecutionCreateContextParams = new LazyMatcher(() => new Matches
JsonObject( |
863 "execution.createContext params", { | 887 "execution.createContext params", { |
864 "contextRoot": isFilePath | 888 "contextRoot": isFilePath |
865 })); | 889 })); |
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1929 "message": isString | 1953 "message": isString |
1930 }, optionalFields: { | 1954 }, optionalFields: { |
1931 "stackTrace": isString | 1955 "stackTrace": isString |
1932 })); | 1956 })); |
1933 | 1957 |
1934 /** | 1958 /** |
1935 * RequestErrorCode | 1959 * RequestErrorCode |
1936 * | 1960 * |
1937 * enum { | 1961 * enum { |
1938 * CONTENT_MODIFIED | 1962 * CONTENT_MODIFIED |
| 1963 * FILE_NOT_ANALYZED |
1939 * FORMAT_INVALID_FILE | 1964 * FORMAT_INVALID_FILE |
1940 * FORMAT_WITH_ERRORS | 1965 * FORMAT_WITH_ERRORS |
1941 * GET_ERRORS_INVALID_FILE | 1966 * GET_ERRORS_INVALID_FILE |
1942 * GET_NAVIGATION_INVALID_FILE | 1967 * GET_NAVIGATION_INVALID_FILE |
1943 * INVALID_ANALYSIS_ROOT | 1968 * INVALID_ANALYSIS_ROOT |
1944 * INVALID_EXECUTION_CONTEXT | 1969 * INVALID_EXECUTION_CONTEXT |
1945 * INVALID_OVERLAY_CHANGE | 1970 * INVALID_OVERLAY_CHANGE |
1946 * INVALID_PARAMETER | 1971 * INVALID_PARAMETER |
1947 * INVALID_REQUEST | 1972 * INVALID_REQUEST |
1948 * NO_INDEX_GENERATED | 1973 * NO_INDEX_GENERATED |
| 1974 * ORGANIZE_DIRECTIVES_ERROR |
1949 * REFACTORING_REQUEST_CANCELLED | 1975 * REFACTORING_REQUEST_CANCELLED |
1950 * SERVER_ALREADY_STARTED | 1976 * SERVER_ALREADY_STARTED |
1951 * SERVER_ERROR | 1977 * SERVER_ERROR |
1952 * SORT_MEMBERS_INVALID_FILE | 1978 * SORT_MEMBERS_INVALID_FILE |
1953 * SORT_MEMBERS_PARSE_ERRORS | 1979 * SORT_MEMBERS_PARSE_ERRORS |
1954 * UNANALYZED_PRIORITY_FILES | 1980 * UNANALYZED_PRIORITY_FILES |
1955 * UNKNOWN_REQUEST | 1981 * UNKNOWN_REQUEST |
1956 * UNKNOWN_SOURCE | 1982 * UNKNOWN_SOURCE |
1957 * UNSUPPORTED_FEATURE | 1983 * UNSUPPORTED_FEATURE |
1958 * } | 1984 * } |
1959 */ | 1985 */ |
1960 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ | 1986 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ |
1961 "CONTENT_MODIFIED", | 1987 "CONTENT_MODIFIED", |
| 1988 "FILE_NOT_ANALYZED", |
1962 "FORMAT_INVALID_FILE", | 1989 "FORMAT_INVALID_FILE", |
1963 "FORMAT_WITH_ERRORS", | 1990 "FORMAT_WITH_ERRORS", |
1964 "GET_ERRORS_INVALID_FILE", | 1991 "GET_ERRORS_INVALID_FILE", |
1965 "GET_NAVIGATION_INVALID_FILE", | 1992 "GET_NAVIGATION_INVALID_FILE", |
1966 "INVALID_ANALYSIS_ROOT", | 1993 "INVALID_ANALYSIS_ROOT", |
1967 "INVALID_EXECUTION_CONTEXT", | 1994 "INVALID_EXECUTION_CONTEXT", |
1968 "INVALID_OVERLAY_CHANGE", | 1995 "INVALID_OVERLAY_CHANGE", |
1969 "INVALID_PARAMETER", | 1996 "INVALID_PARAMETER", |
1970 "INVALID_REQUEST", | 1997 "INVALID_REQUEST", |
1971 "NO_INDEX_GENERATED", | 1998 "NO_INDEX_GENERATED", |
| 1999 "ORGANIZE_DIRECTIVES_ERROR", |
1972 "REFACTORING_REQUEST_CANCELLED", | 2000 "REFACTORING_REQUEST_CANCELLED", |
1973 "SERVER_ALREADY_STARTED", | 2001 "SERVER_ALREADY_STARTED", |
1974 "SERVER_ERROR", | 2002 "SERVER_ERROR", |
1975 "SORT_MEMBERS_INVALID_FILE", | 2003 "SORT_MEMBERS_INVALID_FILE", |
1976 "SORT_MEMBERS_PARSE_ERRORS", | 2004 "SORT_MEMBERS_PARSE_ERRORS", |
1977 "UNANALYZED_PRIORITY_FILES", | 2005 "UNANALYZED_PRIORITY_FILES", |
1978 "UNKNOWN_REQUEST", | 2006 "UNKNOWN_REQUEST", |
1979 "UNKNOWN_SOURCE", | 2007 "UNKNOWN_SOURCE", |
1980 "UNSUPPORTED_FEATURE" | 2008 "UNSUPPORTED_FEATURE" |
1981 ]); | 2009 ]); |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2304 * | 2332 * |
2305 * { | 2333 * { |
2306 * "newName": String | 2334 * "newName": String |
2307 * } | 2335 * } |
2308 */ | 2336 */ |
2309 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2337 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2310 "rename options", { | 2338 "rename options", { |
2311 "newName": isString | 2339 "newName": isString |
2312 })); | 2340 })); |
2313 | 2341 |
OLD | NEW |