| OLD | NEW |
| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 * server.setSubscriptions result | 59 * server.setSubscriptions result |
| 60 */ | 60 */ |
| 61 final Matcher isServerSetSubscriptionsResult = isNull; | 61 final Matcher isServerSetSubscriptionsResult = isNull; |
| 62 | 62 |
| 63 /** | 63 /** |
| 64 * server.connected params | 64 * server.connected params |
| 65 * | 65 * |
| 66 * { | 66 * { |
| 67 * "version": String | 67 * "version": String |
| 68 * "pid": int | 68 * "pid": int |
| 69 * "sessionId": optional String |
| 69 * } | 70 * } |
| 70 */ | 71 */ |
| 71 final Matcher isServerConnectedParams = new LazyMatcher(() => new MatchesJsonObj
ect( | 72 final Matcher isServerConnectedParams = new LazyMatcher(() => new MatchesJsonObj
ect( |
| 72 "server.connected params", { | 73 "server.connected params", { |
| 73 "version": isString, | 74 "version": isString, |
| 74 "pid": isInt | 75 "pid": isInt |
| 76 }, optionalFields: { |
| 77 "sessionId": isString |
| 75 })); | 78 })); |
| 76 | 79 |
| 77 /** | 80 /** |
| 78 * server.error params | 81 * server.error params |
| 79 * | 82 * |
| 80 * { | 83 * { |
| 81 * "isFatal": bool | 84 * "isFatal": bool |
| 82 * "message": String | 85 * "message": String |
| 83 * "stackTrace": String | 86 * "stackTrace": String |
| 84 * } | 87 * } |
| (...skipping 2396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2481 * | 2484 * |
| 2482 * { | 2485 * { |
| 2483 * "newName": String | 2486 * "newName": String |
| 2484 * } | 2487 * } |
| 2485 */ | 2488 */ |
| 2486 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2489 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2487 "rename options", { | 2490 "rename options", { |
| 2488 "newName": isString | 2491 "newName": isString |
| 2489 })); | 2492 })); |
| 2490 | 2493 |
| OLD | NEW |