Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostFuncGen ¶
type HostFuncGen = func(rt *Runtime, argsInfo []ArgInfo) (HostFunction, DataColumnType, error)
type HostFunction ¶
type Runtime ¶
type Runtime struct {
ErrorFlag int32
Err error
Ctx *RuntimeContext
Stack []StackLeaf
StackUsed bool
PrevRow int
}
func NewRuntime ¶
func NewRuntime(ctx *RuntimeContext) *Runtime
type RuntimeContext ¶
type RuntimeContext struct {
Consts map[string]interface{}
Vars map[string]interface{}
Funcs map[string]HostFuncGen
}
func NewRuntimeContext ¶
func NewRuntimeContext() *RuntimeContext
Click to show internal directories.
Click to hide internal directories.