Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScriptEngine ¶
type ScriptEngine struct { }
ScriptEngine standard implementation of the script engine interface
func (*ScriptEngine) Compile ¶
func (engine *ScriptEngine) Compile(expression string, options *option.QueryOptions) (script.CompiledExpression, error)
Compile returns a compiled expression that can be evaluated multiple times
func (*ScriptEngine) Evaluate ¶
func (engine *ScriptEngine) Evaluate(root, current interface{}, expression string, options *option.QueryOptions) (interface{}, error)
Evaluate return the result of the expression evaluation
Click to show internal directories.
Click to hide internal directories.