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

Method NewCall

parser/helper.go:479–481  ·  view source on GitHub ↗

NewGlobalCall implements the ExprHelper interface method.

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

Source from the content-addressed store, hash-verified

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