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

Method newGlobalCall

parser/helper.go:88–90  ·  view source on GitHub ↗
(ctx any, function string, args ...ast.Expr)

Source from the content-addressed store, hash-verified

86}
87
88func (p *parserHelper) newGlobalCall(ctx any, function string, args ...ast.Expr) ast.Expr {
89 return p.exprFactory.NewCall(p.newID(ctx), function, args...)
90}
91
92func (p *parserHelper) newReceiverCall(ctx any, function string, target ast.Expr, args ...ast.Expr) ast.Expr {
93 return p.exprFactory.NewMemberCall(p.newID(ctx), function, target, args...)

Callers 2

VisitSelectMethod · 0.80
globalCallOrMacroMethod · 0.80

Calls 2

newIDMethod · 0.95
NewCallMethod · 0.65

Tested by

no test coverage detected