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

Function ReceiverVarArgMacro

cel/macro.go:175–177  ·  view source on GitHub ↗

ReceiverVarArgMacro creates a Macro for a receiver function matching a variable arg count.

(function string, factory MacroFactory, opts ...MacroOpt)

Source from the content-addressed store, hash-verified

173
174// ReceiverVarArgMacro creates a Macro for a receiver function matching a variable arg count.
175func ReceiverVarArgMacro(function string, factory MacroFactory, opts ...MacroOpt) Macro {
176 return parser.NewReceiverVarArgMacro(function, factory, opts...)
177}
178
179// NewGlobalMacro creates a Macro for a global function with the specified arg count.
180//

Callers 3

CompileOptionsMethod · 0.92
TestReceiverVarArgMacroFunction · 0.85
TestDocumentationFunction · 0.85

Calls 1

NewReceiverVarArgMacroFunction · 0.92

Tested by 2

TestReceiverVarArgMacroFunction · 0.68
TestDocumentationFunction · 0.68