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

Function Unparse

tools/cel_unparser.cc:554–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552} // namespace
553
554absl::StatusOr<std::string> Unparse(const Expr& expr,
555 const SourceInfo* source_info) {
556 const SourceInfo& info =
557 source_info == nullptr ? SourceInfo::default_instance() : *source_info;
558 return Unparser::Unparse(expr, info);
559}
560
561absl::StatusOr<std::string> Unparse(const ParsedExpr& parsed_expr) {
562 return Unparse(parsed_expr.expr(), &parsed_expr.source_info());

Callers 3

TEST_PFunction · 0.85
GetCoverageReportMethod · 0.85

Calls 2

source_infoMethod · 0.80
exprMethod · 0.45

Tested by 1

TEST_PFunction · 0.68