From ab82bcf1ef1e6bc19b3f91ad35efd5da88d20877 Mon Sep 17 00:00:00 2001 From: Celestino Amoroso Date: Sun, 21 Apr 2024 07:11:58 +0200 Subject: [PATCH] preparation for the definition of the iterators --- func-builtins.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/func-builtins.go b/func-builtins.go index 6b77c3b..69e231b 100644 --- a/func-builtins.go +++ b/func-builtins.go @@ -45,6 +45,10 @@ func intFunc(ctx ExprContext, name string, args []any) (result any, err error) { return } +func iteratorFunc(ctx ExprContext, name string, args []any) (result any, err error) { + return +} + func ImportBuiltinsFuncs(ctx ExprContext) { ctx.RegisterFunc("isNil", &simpleFunctor{f: isNilFunc}, 1, -1) ctx.RegisterFunc("int", &simpleFunctor{f: intFunc}, 1, -1)