Documentation
¶
Index ¶
Constants ¶
View Source
const ( NIL_OBJ = "NIL" ERROR_OBJ = "ERROR" INTEGER_OBJ = "INTEGER" BOOLEAN_OBJ = "BOOLEAN" STRING_OBJ = "STRING" HTML_OBJ = "HTML" RETURN_VALUE_OBJ = "RETURN_VALUE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Message string
}
func (*Error) Type ¶
func (e *Error) Type() ObjectType
type Integer ¶
type Integer struct {
Value int64
}
func (*Integer) Type ¶
func (i *Integer) Type() ObjectType
type Object ¶
type Object interface {
Type() ObjectType
String() string
}
type ObjectType ¶
type ObjectType string
Click to show internal directories.
Click to hide internal directories.