OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 * "kind": CompletionSuggestionKind | 572 * "kind": CompletionSuggestionKind |
573 * "relevance": int | 573 * "relevance": int |
574 * "completion": String | 574 * "completion": String |
575 * "selectionOffset": int | 575 * "selectionOffset": int |
576 * "selectionLength": int | 576 * "selectionLength": int |
577 * "isDeprecated": bool | 577 * "isDeprecated": bool |
578 * "isPotential": bool | 578 * "isPotential": bool |
579 * "docSummary": optional String | 579 * "docSummary": optional String |
580 * "docComplete": optional String | 580 * "docComplete": optional String |
581 * "declaringType": optional String | 581 * "declaringType": optional String |
| 582 * "defaultArgumentListString": optional String |
| 583 * "defaultArgumentListTextRanges": optional List<int> |
582 * "element": optional Element | 584 * "element": optional Element |
583 * "returnType": optional String | 585 * "returnType": optional String |
584 * "parameterNames": optional List<String> | 586 * "parameterNames": optional List<String> |
585 * "parameterTypes": optional List<String> | 587 * "parameterTypes": optional List<String> |
586 * "requiredParameterCount": optional int | 588 * "requiredParameterCount": optional int |
587 * "hasNamedParameters": optional bool | 589 * "hasNamedParameters": optional bool |
588 * "parameterName": optional String | 590 * "parameterName": optional String |
589 * "parameterType": optional String | 591 * "parameterType": optional String |
590 * "importUri": optional String | 592 * "importUri": optional String |
591 * } | 593 * } |
592 */ | 594 */ |
593 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje
ct( | 595 final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje
ct( |
594 "CompletionSuggestion", { | 596 "CompletionSuggestion", { |
595 "kind": isCompletionSuggestionKind, | 597 "kind": isCompletionSuggestionKind, |
596 "relevance": isInt, | 598 "relevance": isInt, |
597 "completion": isString, | 599 "completion": isString, |
598 "selectionOffset": isInt, | 600 "selectionOffset": isInt, |
599 "selectionLength": isInt, | 601 "selectionLength": isInt, |
600 "isDeprecated": isBool, | 602 "isDeprecated": isBool, |
601 "isPotential": isBool | 603 "isPotential": isBool |
602 }, optionalFields: { | 604 }, optionalFields: { |
603 "docSummary": isString, | 605 "docSummary": isString, |
604 "docComplete": isString, | 606 "docComplete": isString, |
605 "declaringType": isString, | 607 "declaringType": isString, |
| 608 "defaultArgumentListString": isString, |
| 609 "defaultArgumentListTextRanges": isListOf(isInt), |
606 "element": isElement, | 610 "element": isElement, |
607 "returnType": isString, | 611 "returnType": isString, |
608 "parameterNames": isListOf(isString), | 612 "parameterNames": isListOf(isString), |
609 "parameterTypes": isListOf(isString), | 613 "parameterTypes": isListOf(isString), |
610 "requiredParameterCount": isInt, | 614 "requiredParameterCount": isInt, |
611 "hasNamedParameters": isBool, | 615 "hasNamedParameters": isBool, |
612 "parameterName": isString, | 616 "parameterName": isString, |
613 "parameterType": isString, | 617 "parameterType": isString, |
614 "importUri": isString | 618 "importUri": isString |
615 })); | 619 })); |
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 * | 1569 * |
1566 * { | 1570 * { |
1567 * "newName": String | 1571 * "newName": String |
1568 * } | 1572 * } |
1569 */ | 1573 */ |
1570 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 1574 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
1571 "rename options", { | 1575 "rename options", { |
1572 "newName": isString | 1576 "newName": isString |
1573 })); | 1577 })); |
1574 | 1578 |
OLD | NEW |