Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Side by Side Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 1097083002: add optional importUri to completion suggestion (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 * "docComplete": optional String 1113 * "docComplete": optional String
1114 * "declaringType": optional String 1114 * "declaringType": optional String
1115 * "element": optional Element 1115 * "element": optional Element
1116 * "returnType": optional String 1116 * "returnType": optional String
1117 * "parameterNames": optional List<String> 1117 * "parameterNames": optional List<String>
1118 * "parameterTypes": optional List<String> 1118 * "parameterTypes": optional List<String>
1119 * "requiredParameterCount": optional int 1119 * "requiredParameterCount": optional int
1120 * "hasNamedParameters": optional bool 1120 * "hasNamedParameters": optional bool
1121 * "parameterName": optional String 1121 * "parameterName": optional String
1122 * "parameterType": optional String 1122 * "parameterType": optional String
1123 * "importUri": optional String
1123 * } 1124 * }
1124 */ 1125 */
1125 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje ct( 1126 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje ct(
1126 "CompletionSuggestion", { 1127 "CompletionSuggestion", {
1127 "kind": isCompletionSuggestionKind, 1128 "kind": isCompletionSuggestionKind,
1128 "relevance": isInt, 1129 "relevance": isInt,
1129 "completion": isString, 1130 "completion": isString,
1130 "selectionOffset": isInt, 1131 "selectionOffset": isInt,
1131 "selectionLength": isInt, 1132 "selectionLength": isInt,
1132 "isDeprecated": isBool, 1133 "isDeprecated": isBool,
1133 "isPotential": isBool 1134 "isPotential": isBool
1134 }, optionalFields: { 1135 }, optionalFields: {
1135 "docSummary": isString, 1136 "docSummary": isString,
1136 "docComplete": isString, 1137 "docComplete": isString,
1137 "declaringType": isString, 1138 "declaringType": isString,
1138 "element": isElement, 1139 "element": isElement,
1139 "returnType": isString, 1140 "returnType": isString,
1140 "parameterNames": isListOf(isString), 1141 "parameterNames": isListOf(isString),
1141 "parameterTypes": isListOf(isString), 1142 "parameterTypes": isListOf(isString),
1142 "requiredParameterCount": isInt, 1143 "requiredParameterCount": isInt,
1143 "hasNamedParameters": isBool, 1144 "hasNamedParameters": isBool,
1144 "parameterName": isString, 1145 "parameterName": isString,
1145 "parameterType": isString 1146 "parameterType": isString,
1147 "importUri": isString
1146 })); 1148 }));
1147 1149
1148 /** 1150 /**
1149 * CompletionSuggestionKind 1151 * CompletionSuggestionKind
1150 * 1152 *
1151 * enum { 1153 * enum {
1152 * ARGUMENT_LIST 1154 * ARGUMENT_LIST
1153 * IMPORT 1155 * IMPORT
1154 * IDENTIFIER 1156 * IDENTIFIER
1155 * INVOCATION 1157 * INVOCATION
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 * 2187 *
2186 * { 2188 * {
2187 * "newName": String 2189 * "newName": String
2188 * } 2190 * }
2189 */ 2191 */
2190 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2192 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2191 "rename options", { 2193 "rename options", {
2192 "newName": isString 2194 "newName": isString
2193 })); 2195 }));
2194 2196
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698