NewReceiverVarArgMacro creates a Macro for a receiver function matching a variable arg count. Deprecated: use ReceiverVarArgMacro
(function string, expander MacroExpander)
| 204 | // |
| 205 | // Deprecated: use ReceiverVarArgMacro |
| 206 | func NewReceiverVarArgMacro(function string, expander MacroExpander) Macro { |
| 207 | expand := adaptingExpander{expander} |
| 208 | return parser.NewReceiverVarArgMacro(function, expand.Expander) |
| 209 | } |
| 210 | |
| 211 | // HasMacroExpander expands the input call arguments into a presence test, e.g. has(<operand>.field) |
| 212 | func HasMacroExpander(meh MacroExprHelper, target *exprpb.Expr, args []*exprpb.Expr) (*exprpb.Expr, *Error) { |
nothing calls this directly
no test coverage detected