| 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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 */ | 620 */ |
| 621 final Matcher isEditGetFixesResult = new LazyMatcher(() => new MatchesJsonObject
( | 621 final Matcher isEditGetFixesResult = new LazyMatcher(() => new MatchesJsonObject
( |
| 622 "edit.getFixes result", { | 622 "edit.getFixes result", { |
| 623 "fixes": isListOf(isErrorFixes) | 623 "fixes": isListOf(isErrorFixes) |
| 624 })); | 624 })); |
| 625 | 625 |
| 626 /** | 626 /** |
| 627 * edit.getRefactoring params | 627 * edit.getRefactoring params |
| 628 * | 628 * |
| 629 * { | 629 * { |
| 630 * "kindId": RefactoringKind | 630 * "kind": RefactoringKind |
| 631 * "file": FilePath | 631 * "file": FilePath |
| 632 * "offset": int | 632 * "offset": int |
| 633 * "length": int | 633 * "length": int |
| 634 * "validateOnly": bool | 634 * "validateOnly": bool |
| 635 * "options": optional object | 635 * "options": optional object |
| 636 * } | 636 * } |
| 637 */ | 637 */ |
| 638 final Matcher isEditGetRefactoringParams = new LazyMatcher(() => new MatchesJson
Object( | 638 final Matcher isEditGetRefactoringParams = new LazyMatcher(() => new MatchesJson
Object( |
| 639 "edit.getRefactoring params", { | 639 "edit.getRefactoring params", { |
| 640 "kindId": isRefactoringKind, | 640 "kind": isRefactoringKind, |
| 641 "file": isFilePath, | 641 "file": isFilePath, |
| 642 "offset": isInt, | 642 "offset": isInt, |
| 643 "length": isInt, | 643 "length": isInt, |
| 644 "validateOnly": isBool | 644 "validateOnly": isBool |
| 645 }, optionalFields: { | 645 }, optionalFields: { |
| 646 "options": isObject | 646 "options": isObject |
| 647 })); | 647 })); |
| 648 | 648 |
| 649 /** | 649 /** |
| 650 * edit.getRefactoring result | 650 * edit.getRefactoring result |
| (...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1892 * | 1892 * |
| 1893 * { | 1893 * { |
| 1894 * "newName": String | 1894 * "newName": String |
| 1895 * } | 1895 * } |
| 1896 */ | 1896 */ |
| 1897 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1897 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1898 "rename options", { | 1898 "rename options", { |
| 1899 "newName": isString | 1899 "newName": isString |
| 1900 })); | 1900 })); |
| 1901 | 1901 |
| OLD | NEW |