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

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

Issue 684183002: Refactor CompletionSuggestionKind (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 1 month 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 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 "positionalParameterCount": isInt, 1029 "positionalParameterCount": isInt,
1030 "parameterName": isString, 1030 "parameterName": isString,
1031 "parameterType": isString 1031 "parameterType": isString
1032 })); 1032 }));
1033 1033
1034 /** 1034 /**
1035 * CompletionSuggestionKind 1035 * CompletionSuggestionKind
1036 * 1036 *
1037 * enum { 1037 * enum {
1038 * ARGUMENT_LIST 1038 * ARGUMENT_LIST
1039 * CLASS
1040 * CLASS_ALIAS
1041 * CONSTRUCTOR
1042 * FIELD
1043 * FUNCTION
1044 * FUNCTION_TYPE_ALIAS
1045 * GETTER
1046 * IMPORT 1039 * IMPORT
1040 * IDENTIFIER
1041 * INVOCATION
1047 * KEYWORD 1042 * KEYWORD
1048 * LABEL
1049 * LIBRARY_PREFIX
1050 * LOCAL_VARIABLE
1051 * METHOD
1052 * METHOD_NAME
1053 * NAMED_ARGUMENT 1043 * NAMED_ARGUMENT
1054 * OPTIONAL_ARGUMENT 1044 * OPTIONAL_ARGUMENT
1055 * PARAMETER 1045 * PARAMETER
1056 * SETTER
1057 * TOP_LEVEL_VARIABLE
1058 * TYPE_PARAMETER
1059 * } 1046 * }
1060 */ 1047 */
1061 final Matcher isCompletionSuggestionKind = new MatchesEnum("CompletionSuggestion Kind", [ 1048 final Matcher isCompletionSuggestionKind = new MatchesEnum("CompletionSuggestion Kind", [
1062 "ARGUMENT_LIST", 1049 "ARGUMENT_LIST",
1063 "CLASS",
1064 "CLASS_ALIAS",
1065 "CONSTRUCTOR",
1066 "FIELD",
1067 "FUNCTION",
1068 "FUNCTION_TYPE_ALIAS",
1069 "GETTER",
1070 "IMPORT", 1050 "IMPORT",
1051 "IDENTIFIER",
1052 "INVOCATION",
1071 "KEYWORD", 1053 "KEYWORD",
1072 "LABEL",
1073 "LIBRARY_PREFIX",
1074 "LOCAL_VARIABLE",
1075 "METHOD",
1076 "METHOD_NAME",
1077 "NAMED_ARGUMENT", 1054 "NAMED_ARGUMENT",
1078 "OPTIONAL_ARGUMENT", 1055 "OPTIONAL_ARGUMENT",
1079 "PARAMETER", 1056 "PARAMETER"
1080 "SETTER",
1081 "TOP_LEVEL_VARIABLE",
1082 "TYPE_PARAMETER"
1083 ]); 1057 ]);
1084 1058
1085 /** 1059 /**
1086 * Element 1060 * Element
1087 * 1061 *
1088 * { 1062 * {
1089 * "kind": ElementKind 1063 * "kind": ElementKind
1090 * "name": String 1064 * "name": String
1091 * "location": optional Location 1065 * "location": optional Location
1092 * "flags": int 1066 * "flags": int
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
2041 * 2015 *
2042 * { 2016 * {
2043 * "newName": String 2017 * "newName": String
2044 * } 2018 * }
2045 */ 2019 */
2046 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2020 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2047 "rename options", { 2021 "rename options", {
2048 "newName": isString 2022 "newName": isString
2049 })); 2023 }));
2050 2024
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698