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

Method NewCall

cel/optimizer.go:367–369  ·  view source on GitHub ↗

NewCall creates a global function call invocation expression. Example: countByField(list, fieldName) - function: countByField - args: [list, fieldName]

(function string, args ...ast.Expr)

Source from the content-addressed store, hash-verified

365// - function: countByField
366// - args: [list, fieldName]
367func (opt *optimizerExprFactory) NewCall(function string, args ...ast.Expr) ast.Expr {
368 return opt.fac.NewCall(opt.nextID(), function, args...)
369}
370
371// NewMemberCall creates a member function call invocation expression where 'target' is the receiver of the call.
372//

Callers

nothing calls this directly

Calls 2

NewCallMethod · 0.65
nextIDMethod · 0.45

Tested by

no test coverage detected