Documentation
¶
Index ¶
Constants ¶
View Source
const ( NULL_OBJ = "NULL" ERROR_OBJ = "ERROR" STRING_OBJ = "STRING" INTEGER_OBJ = "INTEGER" BOOLEAN_OBJ = "BOOLEAN" REGEXP_OBJ = "REGEXP" STRUCT_OBJ = "STRUCT" FUNCTION_OBJ = "FUNCTION" ARRAY_OBJ = "ARRAY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
Elements []Object
}
func (*Array) Type ¶
func (ao *Array) Type() ObjectType
type Boolean ¶
type Boolean struct {
Value bool
}
func (*Boolean) Type ¶
func (b *Boolean) Type() ObjectType
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 ObjectType ¶
type ObjectType string
type String ¶
type String struct {
Value string
}
func (*String) Type ¶
func (s *String) Type() ObjectType
Click to show internal directories.
Click to hide internal directories.