Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Undefined = &struct{}{}
类型安全的undefined
Functions ¶
func NewReflectCache ¶
func NewReflectCache() *reflectCache
Types ¶
type Interpreter ¶
type Interpreter struct {
// contains filtered or unexported fields
}
func NewInterpreter ¶
func NewInterpreter() *Interpreter
func (*Interpreter) Fork ¶ added in v0.0.5
func (i *Interpreter) Fork() *Interpreter
func (*Interpreter) Set ¶ added in v0.0.11
func (i *Interpreter) Set(name string, obj any)
func (*Interpreter) SetGlobal ¶ added in v0.0.11
func (i *Interpreter) SetGlobal(obj any)
type SharedScope ¶ added in v0.0.7
type SharedScope struct {
}
Click to show internal directories.
Click to hide internal directories.