| 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/spec/generate_files". | 7 // "pkg/analysis_server/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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 "file": isFilePath, | 410 "file": isFilePath, |
| 411 "offset": isInt, | 411 "offset": isInt, |
| 412 "includePotential": isBool | 412 "includePotential": isBool |
| 413 })); | 413 })); |
| 414 | 414 |
| 415 /** | 415 /** |
| 416 * search.findElementReferences result | 416 * search.findElementReferences result |
| 417 * | 417 * |
| 418 * { | 418 * { |
| 419 * "id": SearchId | 419 * "id": SearchId |
| 420 * "element": Element | 420 * "element": optional Element |
| 421 * } | 421 * } |
| 422 */ | 422 */ |
| 423 final Matcher isSearchFindElementReferencesResult = new LazyMatcher(() => new Ma
tchesJsonObject( | 423 final Matcher isSearchFindElementReferencesResult = new LazyMatcher(() => new Ma
tchesJsonObject( |
| 424 "search.findElementReferences result", { | 424 "search.findElementReferences result", { |
| 425 "id": isSearchId, | 425 "id": isSearchId |
| 426 }, optionalFields: { |
| 426 "element": isElement | 427 "element": isElement |
| 427 })); | 428 })); |
| 428 | 429 |
| 429 /** | 430 /** |
| 430 * search.findMemberDeclarations params | 431 * search.findMemberDeclarations params |
| 431 * | 432 * |
| 432 * { | 433 * { |
| 433 * "name": String | 434 * "name": String |
| 434 * } | 435 * } |
| 435 */ | 436 */ |
| (...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1889 * | 1890 * |
| 1890 * { | 1891 * { |
| 1891 * "newName": String | 1892 * "newName": String |
| 1892 * } | 1893 * } |
| 1893 */ | 1894 */ |
| 1894 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1895 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1895 "rename options", { | 1896 "rename options", { |
| 1896 "newName": isString | 1897 "newName": isString |
| 1897 })); | 1898 })); |
| 1898 | 1899 |
| OLD | NEW |