| 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 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 /** | 1509 /** |
| 1510 * RefactoringKind | 1510 * RefactoringKind |
| 1511 * | 1511 * |
| 1512 * enum { | 1512 * enum { |
| 1513 * CONVERT_GETTER_TO_METHOD | 1513 * CONVERT_GETTER_TO_METHOD |
| 1514 * CONVERT_METHOD_TO_GETTER | 1514 * CONVERT_METHOD_TO_GETTER |
| 1515 * EXTRACT_LOCAL_VARIABLE | 1515 * EXTRACT_LOCAL_VARIABLE |
| 1516 * EXTRACT_METHOD | 1516 * EXTRACT_METHOD |
| 1517 * INLINE_LOCAL_VARIABLE | 1517 * INLINE_LOCAL_VARIABLE |
| 1518 * INLINE_METHOD | 1518 * INLINE_METHOD |
| 1519 * MOVE_FILE |
| 1519 * RENAME | 1520 * RENAME |
| 1520 * } | 1521 * } |
| 1521 */ | 1522 */ |
| 1522 final Matcher isRefactoringKind = new MatchesEnum("RefactoringKind", [ | 1523 final Matcher isRefactoringKind = new MatchesEnum("RefactoringKind", [ |
| 1523 "CONVERT_GETTER_TO_METHOD", | 1524 "CONVERT_GETTER_TO_METHOD", |
| 1524 "CONVERT_METHOD_TO_GETTER", | 1525 "CONVERT_METHOD_TO_GETTER", |
| 1525 "EXTRACT_LOCAL_VARIABLE", | 1526 "EXTRACT_LOCAL_VARIABLE", |
| 1526 "EXTRACT_METHOD", | 1527 "EXTRACT_METHOD", |
| 1527 "INLINE_LOCAL_VARIABLE", | 1528 "INLINE_LOCAL_VARIABLE", |
| 1528 "INLINE_METHOD", | 1529 "INLINE_METHOD", |
| 1530 "MOVE_FILE", |
| 1529 "RENAME" | 1531 "RENAME" |
| 1530 ]); | 1532 ]); |
| 1531 | 1533 |
| 1532 /** | 1534 /** |
| 1533 * RefactoringMethodParameter | 1535 * RefactoringMethodParameter |
| 1534 * | 1536 * |
| 1535 * { | 1537 * { |
| 1536 * "id": optional String | 1538 * "id": optional String |
| 1537 * "kind": RefactoringMethodParameterKind | 1539 * "kind": RefactoringMethodParameterKind |
| 1538 * "type": String | 1540 * "type": String |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1997 * | 1999 * |
| 1998 * { | 2000 * { |
| 1999 * "newName": String | 2001 * "newName": String |
| 2000 * } | 2002 * } |
| 2001 */ | 2003 */ |
| 2002 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2004 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2003 "rename options", { | 2005 "rename options", { |
| 2004 "newName": isString | 2006 "newName": isString |
| 2005 })); | 2007 })); |
| 2006 | 2008 |
| OLD | NEW |