| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 /** | 58 /** |
| 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": String |
| 68 * } | 69 * } |
| 69 */ | 70 */ |
| 70 final Matcher isServerConnectedParams = new LazyMatcher(() => new MatchesJsonObj
ect( | 71 final Matcher isServerConnectedParams = new LazyMatcher(() => new MatchesJsonObj
ect( |
| 71 "server.connected params", { | 72 "server.connected params", { |
| 72 "version": isString | 73 "version": isString, |
| 74 "pid": isString |
| 73 })); | 75 })); |
| 74 | 76 |
| 75 /** | 77 /** |
| 76 * server.error params | 78 * server.error params |
| 77 * | 79 * |
| 78 * { | 80 * { |
| 79 * "isFatal": bool | 81 * "isFatal": bool |
| 80 * "message": String | 82 * "message": String |
| 81 * "stackTrace": String | 83 * "stackTrace": String |
| 82 * } | 84 * } |
| (...skipping 2394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2477 * | 2479 * |
| 2478 * { | 2480 * { |
| 2479 * "newName": String | 2481 * "newName": String |
| 2480 * } | 2482 * } |
| 2481 */ | 2483 */ |
| 2482 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2484 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2483 "rename options", { | 2485 "rename options", { |
| 2484 "newName": isString | 2486 "newName": isString |
| 2485 })); | 2487 })); |
| 2486 | 2488 |
| OLD | NEW |