Documentation
¶
Index ¶
- func Call(xctx *ExecutionContext, fn string, params ...interface{}) (interface{}, error)
- func Compile(xctx *ExecutionContext, s string) (Ast, error)
- func Execute(xctx *ExecutionContext, s string) (interface{}, error)
- func ExecuteAst(xctx *ExecutionContext, ast Ast) (interface{}, error)
- func Unmarshal(xctx *ExecutionContext, outPtr interface{}, s string) error
- type ExecutionContext
- type ExecutionScope
- type ExecutionScopeType
- type VariableInfo
- type VariableInfoMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call(xctx *ExecutionContext, fn string, params ...interface{}) (interface{}, error)
TODO: Call the function from host
func Compile ¶
func Compile(xctx *ExecutionContext, s string) (Ast, error)
func Execute ¶
func Execute(xctx *ExecutionContext, s string) (interface{}, error)
func ExecuteAst ¶
func ExecuteAst(xctx *ExecutionContext, ast Ast) (interface{}, error)
func Unmarshal ¶
func Unmarshal(xctx *ExecutionContext, outPtr interface{}, s string) error
Types ¶
type ExecutionContext ¶
type ExecutionContext = xtor.ExecutionContext
func NewExecutionContext ¶
func NewExecutionContext(dicts ...VariableInfoMap) *ExecutionContext
type ExecutionScope ¶
type ExecutionScope = xtor.ExecutionScope
type ExecutionScopeType ¶
type ExecutionScopeType = xtor.ExecutionScopeType
type VariableInfo ¶
type VariableInfo = xtor.VariableInfo
type VariableInfoMap ¶
type VariableInfoMap = map[string]*xtor.VariableInfo
func CloneDict ¶
func CloneDict(src VariableInfoMap) VariableInfoMap
func MergeDict ¶
func MergeDict(dest VariableInfoMap, srcDicts ...VariableInfoMap) VariableInfoMap
Click to show internal directories.
Click to hide internal directories.