Documentation ¶
Index ¶
- type Expr
- func (engine *Expr) CompileExpression(source string) (result expression.ICompiledExpression, err error)
- func (engine *Expr) EvaluateExpression(e expression.ICompiledExpression, data interface{}) (result expression.IResult, err error)
- func (engine *Expr) SetItemAwareLocator(name string, itemAwareLocator data.IItemAwareLocator)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expr ¶
type Expr struct {
// contains filtered or unexported fields
}
Expr language engine
https://github.com/antonmedv/expr
func (*Expr) CompileExpression ¶
func (engine *Expr) CompileExpression(source string) (result expression.ICompiledExpression, err error)
func (*Expr) EvaluateExpression ¶
func (engine *Expr) EvaluateExpression(e expression.ICompiledExpression, data interface{}, ) (result expression.IResult, err error)
func (*Expr) SetItemAwareLocator ¶
func (engine *Expr) SetItemAwareLocator(name string, itemAwareLocator data.IItemAwareLocator)
Click to show internal directories.
Click to hide internal directories.