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

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

Issue 1063613002: Add an analysis server option to enable null-aware-operator support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Roll the analysis server JSON API version. 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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 "TODO" 1015 "TODO"
1016 ]); 1016 ]);
1017 1017
1018 /** 1018 /**
1019 * AnalysisOptions 1019 * AnalysisOptions
1020 * 1020 *
1021 * { 1021 * {
1022 * "enableAsync": optional bool 1022 * "enableAsync": optional bool
1023 * "enableDeferredLoading": optional bool 1023 * "enableDeferredLoading": optional bool
1024 * "enableEnums": optional bool 1024 * "enableEnums": optional bool
1025 * "enableNullAwareOperators": optional bool
1025 * "generateDart2jsHints": optional bool 1026 * "generateDart2jsHints": optional bool
1026 * "generateHints": optional bool 1027 * "generateHints": optional bool
1027 * "generateLints": optional bool 1028 * "generateLints": optional bool
1028 * } 1029 * }
1029 */ 1030 */
1030 final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject( 1031 final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject(
1031 "AnalysisOptions", null, optionalFields: { 1032 "AnalysisOptions", null, optionalFields: {
1032 "enableAsync": isBool, 1033 "enableAsync": isBool,
1033 "enableDeferredLoading": isBool, 1034 "enableDeferredLoading": isBool,
1034 "enableEnums": isBool, 1035 "enableEnums": isBool,
1036 "enableNullAwareOperators": isBool,
1035 "generateDart2jsHints": isBool, 1037 "generateDart2jsHints": isBool,
1036 "generateHints": isBool, 1038 "generateHints": isBool,
1037 "generateLints": isBool 1039 "generateLints": isBool
1038 })); 1040 }));
1039 1041
1040 /** 1042 /**
1041 * AnalysisService 1043 * AnalysisService
1042 * 1044 *
1043 * enum { 1045 * enum {
1044 * FOLDING 1046 * FOLDING
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after
2183 * 2185 *
2184 * { 2186 * {
2185 * "newName": String 2187 * "newName": String
2186 * } 2188 * }
2187 */ 2189 */
2188 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2190 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2189 "rename options", { 2191 "rename options", {
2190 "newName": isString 2192 "newName": isString
2191 })); 2193 }));
2192 2194
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698