Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( NULL_OBJ = "NULL" ERROR_OBJ = "ERROR" INTEGER_OBJ = "INTEGER" FLOAT_OBJ = "FLOAT" BOOL_OBJ = "BOOL" STRING_OBJ = "STRING" BUILTIN_OBJ = "BUILTIN" RETURN_VALUE_OBJ = "RETURN_VALUE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boolean ¶
type Boolean struct {
	Value bool
}
    func (*Boolean) Type ¶
func (o *Boolean) Type() ObjectType
type Builtin ¶
type Builtin struct {
	Fn BuiltinFunc
}
    func (*Builtin) Type ¶
func (o *Builtin) Type() ObjectType
type BuiltinFunc ¶
type Error ¶
type Error struct {
	Message string
}
    func (*Error) Type ¶
func (o *Error) Type() ObjectType
type Float ¶
type Float struct {
	Value float64
}
    func (*Float) Type ¶
func (o *Float) Type() ObjectType
type Integer ¶
type Integer struct {
	Value int64
}
    func (*Integer) Type ¶
func (o *Integer) Type() ObjectType
type Object ¶
type Object interface {
	Type() ObjectType
	Inspect() string
}
    type ObjectType ¶
type ObjectType string
type ReturnValue ¶
type ReturnValue struct {
	Value Object
}
    func (*ReturnValue) Inspect ¶
func (o *ReturnValue) Inspect() string
func (*ReturnValue) Type ¶
func (o *ReturnValue) Type() ObjectType
 Click to show internal directories. 
   Click to hide internal directories.