| 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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 "options": isObject | 645 "options": isObject |
| 646 })); | 646 })); |
| 647 | 647 |
| 648 /** | 648 /** |
| 649 * edit.getRefactoring result | 649 * edit.getRefactoring result |
| 650 * | 650 * |
| 651 * { | 651 * { |
| 652 * "status": List<RefactoringProblem> | 652 * "status": List<RefactoringProblem> |
| 653 * "feedback": optional object | 653 * "feedback": optional object |
| 654 * "change": optional SourceChange | 654 * "change": optional SourceChange |
| 655 * "potentialChanges": optional List<String> | 655 * "potentialEdits": optional List<String> |
| 656 * } | 656 * } |
| 657 */ | 657 */ |
| 658 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
Object( | 658 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
Object( |
| 659 "edit.getRefactoring result", { | 659 "edit.getRefactoring result", { |
| 660 "status": isListOf(isRefactoringProblem) | 660 "status": isListOf(isRefactoringProblem) |
| 661 }, optionalFields: { | 661 }, optionalFields: { |
| 662 "feedback": isObject, | 662 "feedback": isObject, |
| 663 "change": isSourceChange, | 663 "change": isSourceChange, |
| 664 "potentialChanges": isListOf(isString) | 664 "potentialEdits": isListOf(isString) |
| 665 })); | 665 })); |
| 666 | 666 |
| 667 /** | 667 /** |
| 668 * debug.createContext params | 668 * debug.createContext params |
| 669 * | 669 * |
| 670 * { | 670 * { |
| 671 * "contextRoot": FilePath | 671 * "contextRoot": FilePath |
| 672 * } | 672 * } |
| 673 */ | 673 */ |
| 674 final Matcher isDebugCreateContextParams = new LazyMatcher(() => new MatchesJson
Object( | 674 final Matcher isDebugCreateContextParams = new LazyMatcher(() => new MatchesJson
Object( |
| (...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1889 * | 1889 * |
| 1890 * { | 1890 * { |
| 1891 * "newName": String | 1891 * "newName": String |
| 1892 * } | 1892 * } |
| 1893 */ | 1893 */ |
| 1894 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1894 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1895 "rename options", { | 1895 "rename options", { |
| 1896 "newName": isString | 1896 "newName": isString |
| 1897 })); | 1897 })); |
| 1898 | 1898 |
| OLD | NEW |