Versions in this module Expand all Collapse all v0 v0.0.3 Feb 1, 2024 Changes in this version + const DefaultEnvSize + const DefaultPoolSize + const FALSE + const TRUE + type ArrayEnv struct + GoPool *pool.Pool + Outer Environment + Values []interface{} + func NewArrayEnv(size int, p *pool.Pool, out Environment) *ArrayEnv + func (a *ArrayEnv) Clone() Environment + func (a *ArrayEnv) Get(name string) interface{} + func (a *ArrayEnv) GetNest(nest, index int) interface{} + func (a *ArrayEnv) GetPool() *pool.Pool + func (a *ArrayEnv) NewJob(fn func()) bool + func (a *ArrayEnv) Put(name string, _ interface{}) + func (a *ArrayEnv) PutNest(nest, index int, value interface{}) + func (a *ArrayEnv) PutNew(name string, _ interface{}) + func (a *ArrayEnv) SetOuter(e Environment) + func (a *ArrayEnv) Symbols() *Symbols + func (a *ArrayEnv) WaitJob() bool + func (a *ArrayEnv) Where(name string) Environment + type Environment interface + Clone func() Environment + Get func(name string) interface{} + GetNest func(nest, index int) interface{} + GetPool func() *pool.Pool + NewJob func(fn func()) bool + Put func(name string, value interface{}) + PutNest func(nest, index int, value interface{}) + PutNew func(name string, value interface{}) + SetOuter func(e Environment) + Symbols func() *Symbols + WaitJob func() bool + Where func(name string) Environment + type GlobalEnv struct + Names *Symbols + func NewGlobalEnv(size int, poolSize int) *GlobalEnv + func (r *GlobalEnv) Assign(index int, value interface{}) + func (r *GlobalEnv) Clone() Environment + func (r *GlobalEnv) Get(name string) interface{} + func (r *GlobalEnv) GetNest(nest, index int) interface{} + func (r *GlobalEnv) GetPool() *pool.Pool + func (r *GlobalEnv) NewJob(fn func()) bool + func (r *GlobalEnv) Put(name string, value interface{}) + func (r *GlobalEnv) PutNest(nest, index int, value interface{}) + func (r *GlobalEnv) PutNew(name string, value interface{}) + func (r *GlobalEnv) SetOuter(e Environment) + func (r *GlobalEnv) Symbols() *Symbols + func (r *GlobalEnv) WaitJob() bool + func (r *GlobalEnv) Where(name string) Environment + type Location struct + Index int + Nest int + func NewLocation(nest, index int) *Location + type Symbols struct + Outer *Symbols + Table *base.Map[string, int] + func NewSymbols(outer *Symbols) *Symbols + func NewSymbolsNull() *Symbols + func (s *Symbols) Add(key string) int + func (s *Symbols) Append(other *Symbols) + func (s *Symbols) Find(key string) (int, bool) + func (s *Symbols) Get(key string) *Location + func (s *Symbols) GetNest(key string, nest int) *Location + func (s *Symbols) Put(key string) *Location + func (s *Symbols) PutNew(key string) int + func (s *Symbols) Size() int