context.go: added exists return value to the GetFuncInfo()
This commit is contained in:
parent
75c0c0f681
commit
ebb2811ed3
@ -36,7 +36,7 @@ type ExprContext interface {
|
||||
setVar(varName string, value any)
|
||||
EnumVars(func(name string) (accept bool)) (varNames []string)
|
||||
EnumFuncs(func(name string) (accept bool)) (funcNames []string)
|
||||
GetFuncInfo(name string) ExprFunc
|
||||
GetFuncInfo(name string) (item ExprFunc, exists bool)
|
||||
Call(name string, args []any) (result any, err error)
|
||||
RegisterFunc(name string, f Functor, minArgs, maxArgs int)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user