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

Function ParseWithMacros

parser/parser.cc:1858–1865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1856}
1857
1858absl::StatusOr<ParsedExpr> ParseWithMacros(absl::string_view expression,
1859 const std::vector<Macro>& macros,
1860 absl::string_view description,
1861 const ParserOptions& options) {
1862 CEL_ASSIGN_OR_RETURN(auto verbose_parsed_expr,
1863 EnrichedParse(expression, macros, description, options));
1864 return verbose_parsed_expr.parsed_expr();
1865}
1866
1867absl::StatusOr<VerboseParsedExpr> EnrichedParse(
1868 absl::string_view expression, const std::vector<Macro>& macros,

Callers 5

BM_ParseFunction · 0.85
ParseFunction · 0.85
ParseTestCaseFunction · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85

Calls

no outgoing calls

Tested by 3

ParseTestCaseFunction · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68