Documentation
¶
Index ¶
- func Eval(text string, cts ...Context) (any, error)
- func SetCacheSize(size int)
- type Context
- type 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
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCacheSize ¶
func SetCacheSize(size int)
Types ¶
type Stack ¶
func (*Stack) PushTarget ¶
Click to show internal directories.
Click to hide internal directories.