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

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

Issue 2719083003: New Completion defaultArgumentListString protocol. (Closed)
Patch Set: Created 3 years, 9 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
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 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 * "kind": CompletionSuggestionKind 1256 * "kind": CompletionSuggestionKind
1257 * "relevance": int 1257 * "relevance": int
1258 * "completion": String 1258 * "completion": String
1259 * "selectionOffset": int 1259 * "selectionOffset": int
1260 * "selectionLength": int 1260 * "selectionLength": int
1261 * "isDeprecated": bool 1261 * "isDeprecated": bool
1262 * "isPotential": bool 1262 * "isPotential": bool
1263 * "docSummary": optional String 1263 * "docSummary": optional String
1264 * "docComplete": optional String 1264 * "docComplete": optional String
1265 * "declaringType": optional String 1265 * "declaringType": optional String
1266 * "defaultArgumentListString": optional String
1266 * "element": optional Element 1267 * "element": optional Element
1267 * "returnType": optional String 1268 * "returnType": optional String
1268 * "parameterNames": optional List<String> 1269 * "parameterNames": optional List<String>
1269 * "parameterTypes": optional List<String> 1270 * "parameterTypes": optional List<String>
1270 * "requiredParameterCount": optional int 1271 * "requiredParameterCount": optional int
1271 * "hasNamedParameters": optional bool 1272 * "hasNamedParameters": optional bool
1272 * "parameterName": optional String 1273 * "parameterName": optional String
1273 * "parameterType": optional String 1274 * "parameterType": optional String
1274 * "importUri": optional String 1275 * "importUri": optional String
1275 * } 1276 * }
1276 */ 1277 */
1277 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje ct( 1278 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje ct(
1278 "CompletionSuggestion", { 1279 "CompletionSuggestion", {
1279 "kind": isCompletionSuggestionKind, 1280 "kind": isCompletionSuggestionKind,
1280 "relevance": isInt, 1281 "relevance": isInt,
1281 "completion": isString, 1282 "completion": isString,
1282 "selectionOffset": isInt, 1283 "selectionOffset": isInt,
1283 "selectionLength": isInt, 1284 "selectionLength": isInt,
1284 "isDeprecated": isBool, 1285 "isDeprecated": isBool,
1285 "isPotential": isBool 1286 "isPotential": isBool
1286 }, optionalFields: { 1287 }, optionalFields: {
1287 "docSummary": isString, 1288 "docSummary": isString,
1288 "docComplete": isString, 1289 "docComplete": isString,
1289 "declaringType": isString, 1290 "declaringType": isString,
1291 "defaultArgumentListString": isString,
1290 "element": isElement, 1292 "element": isElement,
1291 "returnType": isString, 1293 "returnType": isString,
1292 "parameterNames": isListOf(isString), 1294 "parameterNames": isListOf(isString),
1293 "parameterTypes": isListOf(isString), 1295 "parameterTypes": isListOf(isString),
1294 "requiredParameterCount": isInt, 1296 "requiredParameterCount": isInt,
1295 "hasNamedParameters": isBool, 1297 "hasNamedParameters": isBool,
1296 "parameterName": isString, 1298 "parameterName": isString,
1297 "parameterType": isString, 1299 "parameterType": isString,
1298 "importUri": isString 1300 "importUri": isString
1299 })); 1301 }));
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2503 * 2505 *
2504 * { 2506 * {
2505 * "newName": String 2507 * "newName": String
2506 * } 2508 * }
2507 */ 2509 */
2508 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2510 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2509 "rename options", { 2511 "rename options", {
2510 "newName": isString 2512 "newName": isString
2511 })); 2513 }));
2512 2514
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698