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

Function ParseFromCel

eval/compiler/constant_folding_test.cc:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90};
91
92absl::StatusOr<std::unique_ptr<cel::Ast>> ParseFromCel(
93 absl::string_view expression) {
94 CEL_ASSIGN_OR_RETURN(ParsedExpr expr, Parse(expression));
95 return cel::extensions::CreateAstFromParsedExpr(expr);
96}
97
98// While CEL doesn't provide execution order guarantees per se, short circuiting
99// operators are treated specially to evaluate to user expectations.

Callers 1

TEST_FFunction · 0.85

Calls 1

CreateAstFromParsedExprFunction · 0.50

Tested by

no test coverage detected