Versions in this module Expand all Collapse all v1 v1.5.4 May 11, 2021 Changes in this version + var ErrUndefined = errors.New("no results found") + func RegisterExts(exts map[string]Extension) error + func RegisterVars(vars map[string]interface{}) error + type ArgCountError struct + Expected int + Func string + Received int + func (e ArgCountError) Error() string + type ArgTypeError struct + Func string + Which int + func (e ArgTypeError) Error() string + type ErrType uint + const ErrClone + const ErrDuplicateKey + const ErrIllegalDelete + const ErrIllegalKey + const ErrIllegalUpdate + const ErrMaxRangeItems + const ErrNonCallable + const ErrNonCallableApply + const ErrNonCallablePartial + const ErrNonComparableLHS + const ErrNonComparableRHS + const ErrNonIntegerLHS + const ErrNonIntegerRHS + const ErrNonNumberLHS + const ErrNonNumberRHS + const ErrNonSortable + const ErrNumberInf + const ErrNumberNaN + const ErrSortMismatch + const ErrTypeMismatch + type EvalError struct + Token string + Type ErrType + Value string + func (e EvalError) Error() string + type Expr struct + func Compile(expr string) (*Expr, error) + func MustCompile(expr string) *Expr + func (e *Expr) Eval(data interface{}) (interface{}, error) + func (e *Expr) EvalBytes(data []byte) ([]byte, error) + func (e *Expr) RegisterExts(exts map[string]Extension) error + func (e *Expr) RegisterVars(vars map[string]interface{}) error + func (e *Expr) String() string + type Extension struct + EvalContextHandler jtypes.ArgHandler + Func interface{} + UndefinedHandler jtypes.ArgHandler