EmptyEvalFunc a no-op evaluation function for use in
(ctx EvalContext, args []value.Value)
| 44 | |
| 45 | // EmptyEvalFunc a no-op evaluation function for use in |
| 46 | func EmptyEvalFunc(ctx EvalContext, args []value.Value) (value.Value, bool) { |
| 47 | return value.NilValueVal, false |
| 48 | } |
| 49 | |
| 50 | // NewFuncRegistry create a new function registry. By default their is a |
| 51 | // global one, but you can have local function registries as well. |
no outgoing calls