MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ParsedExprToAst

Function ParsedExprToAst

cel/io.go:69–71  ·  view source on GitHub ↗

ParsedExprToAst converts a parsed expression proto message to an Ast.

(parsedExpr *exprpb.ParsedExpr)

Source from the content-addressed store, hash-verified

67
68// ParsedExprToAst converts a parsed expression proto message to an Ast.
69func ParsedExprToAst(parsedExpr *exprpb.ParsedExpr) *Ast {
70 return ParsedExprToAstWithSource(parsedExpr, nil)
71}
72
73// ParsedExprToAstWithSource converts a parsed expression proto message to an Ast,
74// using the provided Source as the textual contents.

Callers 1

TestAstToProtoFunction · 0.85

Calls 1

Tested by 1

TestAstToProtoFunction · 0.68