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

Method NewCall

parser/helper.go:520–522  ·  view source on GitHub ↗

NewGlobalCall implements the ExprHelper interface method.

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

Source from the content-addressed store, hash-verified

518
519// NewGlobalCall implements the ExprHelper interface method.
520func (e *exprHelper) NewCall(function string, args ...ast.Expr) ast.Expr {
521 return e.exprFactory.NewCall(e.nextMacroID(), function, args...)
522}
523
524// NewMemberCall implements the ExprHelper interface method.
525func (e *exprHelper) NewMemberCall(function string, target ast.Expr, args ...ast.Expr) ast.Expr {

Callers

nothing calls this directly

Calls 2

nextMacroIDMethod · 0.95
NewCallMethod · 0.65

Tested by

no test coverage detected