| 627 | } |
| 628 | |
| 629 | void Parse(const conformance::v1alpha1::ParseRequest& request, |
| 630 | conformance::v1alpha1::ParseResponse& response) override { |
| 631 | auto status = |
| 632 | LegacyParse(request, response, /*enable_optional_syntax=*/true); |
| 633 | if (!status.ok()) { |
| 634 | auto* issue = response.add_issues(); |
| 635 | issue->set_code(ToGrpcCode(status.code())); |
| 636 | issue->set_message(status.message()); |
| 637 | } |
| 638 | } |
| 639 | |
| 640 | void Check(const conformance::v1alpha1::CheckRequest& request, |
| 641 | conformance::v1alpha1::CheckResponse& response) override { |
nothing calls this directly
no test coverage detected