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

Method NewCall

parser/helper.go:483–485  ·  view source on GitHub ↗

NewGlobalCall implements the ExprHelper interface method.

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

Source from the content-addressed store, hash-verified

481
482// NewGlobalCall implements the ExprHelper interface method.
483func (e *exprHelper) NewCall(function string, args ...ast.Expr) ast.Expr {
484 return e.exprFactory.NewCall(e.nextMacroID(), function, args...)
485}
486
487// NewMemberCall implements the ExprHelper interface method.
488func (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