Documentation ¶
Index ¶
- func LoadStdlib(mem *Memory, name string)
- type Memory
- func (mem *Memory) AccessMethod(qualname string) (*lang.Method, error)
- func (mem *Memory) AccessVar(name string) (lang.Type, error)
- func (mem *Memory) Init(opts *lang.Options)
- func (mem *Memory) LoadBuiltins()
- func (mem *Memory) LoadMethod(name string, method *lang.Method)
- func (mem *Memory) LoadModule(name string)
- func (mem *Memory) MethodExists(qualname string) (*lang.Method, bool)
- func (mem *Memory) VarCreate(name string, value interface{})
- func (mem *Memory) VarExists(name string) (lang.Type, bool)
- func (mem *Memory) VarUpdate(name string, value interface{}) error
- type VM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadStdlib ¶
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func (*Memory) AccessMethod ¶
func (*Memory) LoadBuiltins ¶
func (mem *Memory) LoadBuiltins()
func (*Memory) LoadModule ¶
Click to show internal directories.
Click to hide internal directories.