Versions in this module Expand all Collapse all v0 v0.1.0 Dec 9, 2023 Changes in this version + func Eval(text string, cts ...Context) (any, error) + func SetCacheSize(size int) + type Context interface + Cache func(text string, expr ast.Expr) + CacheOf func(text string) (ast.Expr, bool) + MethodOf func(ident string) (any, bool) + ValueOf func(ident string) (any, bool) + type Scope struct + func NewScope(vars ...any) *Scope + func TopScope() *Scope + func (it *Scope) Backup(name string) + func (it *Scope) Bind(name string, value any) + func (it *Scope) Cache(text string, expr ast.Expr) + func (it *Scope) CacheOf(text string) (ast.Expr, bool) + func (it *Scope) Eval(text string) (any, error) + func (it *Scope) IsTop() bool + func (it *Scope) Link(items ...any) *Scope + func (it *Scope) Merge(val any) *Scope + func (it *Scope) MethodOf(ident string) (any, bool) + func (it *Scope) Restore(name string) + func (it *Scope) UnBind(name string) + func (it *Scope) UnLink(obj any) *Scope + func (it *Scope) ValueOf(ident string) (any, bool) + type Stack struct + Ctx Context + Error error + Target datax.LinkedList[Target] + X any + Y any + func StackOf(accessor Context) *Stack + func (it *Stack) PopTarget() Target + func (it *Stack) PushTarget(target Target) + type Target = uint + const METHOD + const PROPERTY