| 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 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1564 "POSITIONAL", | 1564 "POSITIONAL", |
| 1565 "NAMED" | 1565 "NAMED" |
| 1566 ]); | 1566 ]); |
| 1567 | 1567 |
| 1568 /** | 1568 /** |
| 1569 * RefactoringProblem | 1569 * RefactoringProblem |
| 1570 * | 1570 * |
| 1571 * { | 1571 * { |
| 1572 * "severity": RefactoringProblemSeverity | 1572 * "severity": RefactoringProblemSeverity |
| 1573 * "message": String | 1573 * "message": String |
| 1574 * "location": Location | 1574 * "location": optional Location |
| 1575 * } | 1575 * } |
| 1576 */ | 1576 */ |
| 1577 final Matcher isRefactoringProblem = new LazyMatcher(() => new MatchesJsonObject
( | 1577 final Matcher isRefactoringProblem = new LazyMatcher(() => new MatchesJsonObject
( |
| 1578 "RefactoringProblem", { | 1578 "RefactoringProblem", { |
| 1579 "severity": isRefactoringProblemSeverity, | 1579 "severity": isRefactoringProblemSeverity, |
| 1580 "message": isString, | 1580 "message": isString |
| 1581 }, optionalFields: { |
| 1581 "location": isLocation | 1582 "location": isLocation |
| 1582 })); | 1583 })); |
| 1583 | 1584 |
| 1584 /** | 1585 /** |
| 1585 * RefactoringProblemSeverity | 1586 * RefactoringProblemSeverity |
| 1586 * | 1587 * |
| 1587 * enum { | 1588 * enum { |
| 1588 * INFO | 1589 * INFO |
| 1589 * WARNING | 1590 * WARNING |
| 1590 * ERROR | 1591 * ERROR |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1892 * | 1893 * |
| 1893 * { | 1894 * { |
| 1894 * "newName": String | 1895 * "newName": String |
| 1895 * } | 1896 * } |
| 1896 */ | 1897 */ |
| 1897 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1898 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 1898 "rename options", { | 1899 "rename options", { |
| 1899 "newName": isString | 1900 "newName": isString |
| 1900 })); | 1901 })); |
| 1901 | 1902 |
| OLD | NEW |