| 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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 "length": isInt, | 642 "length": isInt, |
| 643 "validateOnly": isBool | 643 "validateOnly": isBool |
| 644 }, optionalFields: { | 644 }, optionalFields: { |
| 645 "options": isRefactoringOptions | 645 "options": isRefactoringOptions |
| 646 })); | 646 })); |
| 647 | 647 |
| 648 /** | 648 /** |
| 649 * edit.getRefactoring result | 649 * edit.getRefactoring result |
| 650 * | 650 * |
| 651 * { | 651 * { |
| 652 * "problems": List<RefactoringProblem> | 652 * "initialProblems": List<RefactoringProblem> |
| 653 * "optionsProblems": List<RefactoringProblem> |
| 654 * "finalProblems": List<RefactoringProblem> |
| 653 * "feedback": optional RefactoringFeedback | 655 * "feedback": optional RefactoringFeedback |
| 654 * "change": optional SourceChange | 656 * "change": optional SourceChange |
| 655 * "potentialEdits": optional List<String> | 657 * "potentialEdits": optional List<String> |
| 656 * } | 658 * } |
| 657 */ | 659 */ |
| 658 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
Object( | 660 final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
Object( |
| 659 "edit.getRefactoring result", { | 661 "edit.getRefactoring result", { |
| 660 "problems": isListOf(isRefactoringProblem) | 662 "initialProblems": isListOf(isRefactoringProblem), |
| 663 "optionsProblems": isListOf(isRefactoringProblem), |
| 664 "finalProblems": isListOf(isRefactoringProblem) |
| 661 }, optionalFields: { | 665 }, optionalFields: { |
| 662 "feedback": isRefactoringFeedback, | 666 "feedback": isRefactoringFeedback, |
| 663 "change": isSourceChange, | 667 "change": isSourceChange, |
| 664 "potentialEdits": isListOf(isString) | 668 "potentialEdits": isListOf(isString) |
| 665 })); | 669 })); |
| 666 | 670 |
| 667 /** | 671 /** |
| 668 * execution.createContext params | 672 * execution.createContext params |
| 669 * | 673 * |
| 670 * { | 674 * { |
| (...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1970 * | 1974 * |
| 1971 * { | 1975 * { |
| 1972 * "newName": String | 1976 * "newName": String |
| 1973 * } | 1977 * } |
| 1974 */ | 1978 */ |
| 1975 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1979 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1976 "rename options", { | 1980 "rename options", { |
| 1977 "newName": isString | 1981 "newName": isString |
| 1978 })); | 1982 })); |
| 1979 | 1983 |
| OLD | NEW |