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

Method GlobalCall

cel/macro.go:500–502  ·  view source on GitHub ↗

GlobalCall creates a function call Expr value for a global (free) function.

(function string, args ...*exprpb.Expr)

Source from the content-addressed store, hash-verified

498
499// GlobalCall creates a function call Expr value for a global (free) function.
500func (ah *adaptingHelper) GlobalCall(function string, args ...*exprpb.Expr) *exprpb.Expr {
501 return mustAdaptToProto(ah.modernHelper.NewCall(function, mustAdaptToExprs(args)...))
502}
503
504// ReceiverCall creates a function call Expr value for a receiver-style function.
505func (ah *adaptingHelper) ReceiverCall(function string, target *exprpb.Expr, args ...*exprpb.Expr) *exprpb.Expr {

Callers

nothing calls this directly

Calls 3

mustAdaptToProtoFunction · 0.85
mustAdaptToExprsFunction · 0.85
NewCallMethod · 0.65

Tested by

no test coverage detected