| 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 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 * "kind": CompletionSuggestionKind | 961 * "kind": CompletionSuggestionKind |
| 962 * "relevance": CompletionRelevance | 962 * "relevance": CompletionRelevance |
| 963 * "completion": String | 963 * "completion": String |
| 964 * "selectionOffset": int | 964 * "selectionOffset": int |
| 965 * "selectionLength": int | 965 * "selectionLength": int |
| 966 * "isDeprecated": bool | 966 * "isDeprecated": bool |
| 967 * "isPotential": bool | 967 * "isPotential": bool |
| 968 * "docSummary": optional String | 968 * "docSummary": optional String |
| 969 * "docComplete": optional String | 969 * "docComplete": optional String |
| 970 * "declaringType": optional String | 970 * "declaringType": optional String |
| 971 * "element": optional Element |
| 971 * "returnType": optional String | 972 * "returnType": optional String |
| 972 * "parameterNames": optional List<String> | 973 * "parameterNames": optional List<String> |
| 973 * "parameterTypes": optional List<String> | 974 * "parameterTypes": optional List<String> |
| 974 * "requiredParameterCount": optional int | 975 * "requiredParameterCount": optional int |
| 975 * "positionalParameterCount": optional int | 976 * "positionalParameterCount": optional int |
| 976 * "parameterName": optional String | 977 * "parameterName": optional String |
| 977 * "parameterType": optional String | 978 * "parameterType": optional String |
| 978 * } | 979 * } |
| 979 */ | 980 */ |
| 980 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje
ct( | 981 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje
ct( |
| 981 "CompletionSuggestion", { | 982 "CompletionSuggestion", { |
| 982 "kind": isCompletionSuggestionKind, | 983 "kind": isCompletionSuggestionKind, |
| 983 "relevance": isCompletionRelevance, | 984 "relevance": isCompletionRelevance, |
| 984 "completion": isString, | 985 "completion": isString, |
| 985 "selectionOffset": isInt, | 986 "selectionOffset": isInt, |
| 986 "selectionLength": isInt, | 987 "selectionLength": isInt, |
| 987 "isDeprecated": isBool, | 988 "isDeprecated": isBool, |
| 988 "isPotential": isBool | 989 "isPotential": isBool |
| 989 }, optionalFields: { | 990 }, optionalFields: { |
| 990 "docSummary": isString, | 991 "docSummary": isString, |
| 991 "docComplete": isString, | 992 "docComplete": isString, |
| 992 "declaringType": isString, | 993 "declaringType": isString, |
| 994 "element": isElement, |
| 993 "returnType": isString, | 995 "returnType": isString, |
| 994 "parameterNames": isListOf(isString), | 996 "parameterNames": isListOf(isString), |
| 995 "parameterTypes": isListOf(isString), | 997 "parameterTypes": isListOf(isString), |
| 996 "requiredParameterCount": isInt, | 998 "requiredParameterCount": isInt, |
| 997 "positionalParameterCount": isInt, | 999 "positionalParameterCount": isInt, |
| 998 "parameterName": isString, | 1000 "parameterName": isString, |
| 999 "parameterType": isString | 1001 "parameterType": isString |
| 1000 })); | 1002 })); |
| 1001 | 1003 |
| 1002 /** | 1004 /** |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1976 * | 1978 * |
| 1977 * { | 1979 * { |
| 1978 * "newName": String | 1980 * "newName": String |
| 1979 * } | 1981 * } |
| 1980 */ | 1982 */ |
| 1981 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1983 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1982 "rename options", { | 1984 "rename options", { |
| 1983 "newName": isString | 1985 "newName": isString |
| 1984 })); | 1986 })); |
| 1985 | 1987 |
| OLD | NEW |