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

Function ExprCall

test/expr.go:303–307  ·  view source on GitHub ↗

ExprCall creates a call Expr.

(id int64, function string, args ...*exprpb.Expr)

Source from the content-addressed store, hash-verified

301
302// ExprCall creates a call Expr.
303func ExprCall(id int64, function string, args ...*exprpb.Expr) *exprpb.Expr {
304 return &exprpb.Expr{Id: id,
305 ExprKind: &exprpb.Expr_CallExpr{
306 CallExpr: &exprpb.Expr_Call{Target: nil, Function: function, Args: args}}}
307}
308
309// ExprMemberCall creates a receiver-style call Expr.
310func ExprMemberCall(id int64, function string, target *exprpb.Expr, args ...*exprpb.Expr) *exprpb.Expr {

Callers 1

expr.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected