| 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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 651 * | 651 * |
| 652 * { | 652 * { |
| 653 * "status": List<RefactoringProblem> | 653 * "problems": List<RefactoringProblem> |
| 654 * "feedback": optional object | 654 * "feedback": optional object |
| 655 * "change": optional SourceChange | 655 * "change": optional SourceChange |
| 656 * "potentialEdits": optional List<String> | 656 * "potentialEdits": optional List<String> |
| 657 * } | 657 * } |
| 658 */ | 658 */ |
| 659 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
Object( | 659 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
Object( |
| 660 "edit.getRefactoring result", { | 660 "edit.getRefactoring result", { |
| 661 "status": isListOf(isRefactoringProblem) | 661 "problems": isListOf(isRefactoringProblem) |
| 662 }, optionalFields: { | 662 }, optionalFields: { |
| 663 "feedback": isObject, | 663 "feedback": isObject, |
| 664 "change": isSourceChange, | 664 "change": isSourceChange, |
| 665 "potentialEdits": isListOf(isString) | 665 "potentialEdits": isListOf(isString) |
| 666 })); | 666 })); |
| 667 | 667 |
| 668 /** | 668 /** |
| 669 * debug.createContext params | 669 * debug.createContext params |
| 670 * | 670 * |
| 671 * { | 671 * { |
| (...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1893 * | 1893 * |
| 1894 * { | 1894 * { |
| 1895 * "newName": String | 1895 * "newName": String |
| 1896 * } | 1896 * } |
| 1897 */ | 1897 */ |
| 1898 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1898 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1899 "rename options", { | 1899 "rename options", { |
| 1900 "newName": isString | 1900 "newName": isString |
| 1901 })); | 1901 })); |
| 1902 | 1902 |
| OLD | NEW |