| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 * { | 982 * { |
| 983 * "file": FilePath | 983 * "file": FilePath |
| 984 * "outline": List<Outline> | 984 * "outline": List<Outline> |
| 985 * } | 985 * } |
| 986 */ | 986 */ |
| 987 final Matcher isAnalysisOutlineParams = new LazyMatcher(() => | 987 final Matcher isAnalysisOutlineParams = new LazyMatcher(() => |
| 988 new MatchesJsonObject("analysis.outline params", | 988 new MatchesJsonObject("analysis.outline params", |
| 989 {"file": isFilePath, "outline": isListOf(isOutline)})); | 989 {"file": isFilePath, "outline": isListOf(isOutline)})); |
| 990 | 990 |
| 991 /** | 991 /** |
| 992 * analysis.reanalyze params | |
| 993 * | |
| 994 * { | |
| 995 * "roots": optional List<FilePath> | |
| 996 * } | |
| 997 */ | |
| 998 final Matcher isAnalysisReanalyzeParams = new LazyMatcher(() => | |
| 999 new MatchesJsonObject("analysis.reanalyze params", null, | |
| 1000 optionalFields: {"roots": isListOf(isFilePath)})); | |
| 1001 | |
| 1002 /** | |
| 1003 * analysis.reanalyze result | |
| 1004 */ | |
| 1005 final Matcher isAnalysisReanalyzeResult = isNull; | |
| 1006 | |
| 1007 /** | |
| 1008 * analysis.setContextRoots params | 992 * analysis.setContextRoots params |
| 1009 * | 993 * |
| 1010 * { | 994 * { |
| 1011 * "roots": List<ContextRoot> | 995 * "roots": List<ContextRoot> |
| 1012 * } | 996 * } |
| 1013 */ | 997 */ |
| 1014 final Matcher isAnalysisSetContextRootsParams = new LazyMatcher(() => | 998 final Matcher isAnalysisSetContextRootsParams = new LazyMatcher(() => |
| 1015 new MatchesJsonObject( | 999 new MatchesJsonObject( |
| 1016 "analysis.setContextRoots params", {"roots": isListOf(isContextRoot)})); | 1000 "analysis.setContextRoots params", {"roots": isListOf(isContextRoot)})); |
| 1017 | 1001 |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 | 1441 |
| 1458 /** | 1442 /** |
| 1459 * rename options | 1443 * rename options |
| 1460 * | 1444 * |
| 1461 * { | 1445 * { |
| 1462 * "newName": String | 1446 * "newName": String |
| 1463 * } | 1447 * } |
| 1464 */ | 1448 */ |
| 1465 final Matcher isRenameOptions = new LazyMatcher( | 1449 final Matcher isRenameOptions = new LazyMatcher( |
| 1466 () => new MatchesJsonObject("rename options", {"newName": isString})); | 1450 () => new MatchesJsonObject("rename options", {"newName": isString})); |
| OLD | NEW |