optimizations
This commit is contained in:
@@ -7,6 +7,8 @@ import (
|
||||
)
|
||||
|
||||
type Function struct {
|
||||
BaseObject
|
||||
|
||||
Parameters []*ast.Identifier
|
||||
Body *ast.BlockStatement
|
||||
Env *Environment
|
||||
@@ -43,6 +45,7 @@ func (f Function) String() string {
|
||||
}
|
||||
|
||||
type ReturnValue struct {
|
||||
BaseObject
|
||||
Value Object
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user