MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / Parse

Method Parse

conformance/service.cc:629–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 5

LegacyParseFunction · 0.85
ToGrpcCodeFunction · 0.85
codeMethod · 0.80
messageMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected