Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
func NewBlockScopeFrame ¶
func NewObjectStackFrame ¶
func NewObjectStackFrame(object *FuncObject) *Frame
type FuncObject ¶
type FuncObject struct {
// contains filtered or unexported fields
}
func NewFuncObject ¶
func NewFuncObject(function *symbol.Func) *FuncObject
func (*FuncObject) GetFunction ¶
func (f *FuncObject) GetFunction() *symbol.Func
func (*FuncObject) SetValue ¶
func (f *FuncObject) SetValue(variable *symbol.Variable, value interface{})
type Object ¶
type Object interface { GetValue(variable *symbol.Variable) interface{} SetValue(variable *symbol.Variable, value interface{}) String() string }
func NewEmptyObject ¶
func NewEmptyObject() Object
func NewVariableObject ¶
func NewVariableObject() Object
Click to show internal directories.
Click to hide internal directories.