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

Function ExprMemberCall

test/expr.go:310–314  ·  view source on GitHub ↗

ExprMemberCall creates a receiver-style call Expr.

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

Source from the content-addressed store, hash-verified

308
309// ExprMemberCall creates a receiver-style call Expr.
310func ExprMemberCall(id int64, function string, target *exprpb.Expr, args ...*exprpb.Expr) *exprpb.Expr {
311 return &exprpb.Expr{Id: id,
312 ExprKind: &exprpb.Expr_CallExpr{
313 CallExpr: &exprpb.Expr_Call{Target: target, Function: function, Args: args}}}
314}
315
316// ExprList creates a create list Expr.
317func ExprList(id int64, elements ...*exprpb.Expr) *exprpb.Expr {

Callers 1

expr.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected