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

Method newReceiverCall

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

Source from the content-addressed store, hash-verified

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...)
94}
95
96func (p *parserHelper) newList(ctx any, elements []ast.Expr, optionals ...int32) ast.Expr {
97 return p.exprFactory.NewList(p.newID(ctx), elements, optionals)

Callers 1

receiverCallOrMacroMethod · 0.80

Calls 2

newIDMethod · 0.95
NewMemberCallMethod · 0.65

Tested by

no test coverage detected