Documentation ¶
Index ¶
- type Decl
- func (env *Decl) Del(name utf16.Str) bool
- func (env *Decl) Get(name utf16.Str, musterr bool) (types.Value, error)
- func (env *Decl) Has(name utf16.Str) bool
- func (env *Decl) ImplicitThis() types.Value
- func (env *Decl) New(name utf16.Str, candelete bool) error
- func (env *Decl) Set(name utf16.Str, v types.Value, musterr bool) error
- type Env
- type Record
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decl ¶
type Decl struct {
// contains filtered or unexported fields
}
Declarative environment record https://es5.github.io/#x10.2.1
func NewDeclEnv ¶
func NewDeclEnv() *Decl
func (*Decl) ImplicitThis ¶
type Env ¶
type Env interface { Has(name utf16.Str) bool New(name utf16.Str, candelete bool) error Set(name utf16.Str, value types.Value, musterr bool) error Get(name utf16.Str, musterr bool) (types.Value, error) Del(name utf16.Str) bool ImplicitThis() types.Value }
Env is an environment record storage
Click to show internal directories.
Click to hide internal directories.