Documentation ¶
Index ¶
Constants ¶
View Source
const ( INT_OBJ = "INTEGER" FLOAT_OBJ = "FLOAT" BOOL_OBJ = "BOOLEAN" RETURN_VAL_OBJ = "RETURN_VAL" NULL_OBJ = "NIL" ERR_OBJ = "ERROR" FUNC_OBJ = "FUNCTION" STRING_OBJ = "STRING" BUILTIN_OBJ = "BUILTIN" ARRAY_OBJ = "ARRAY" HASH_OBJ = "HASH" NUM_OBJ = "NUM" INCLUDE_OBJ = "INCLUDE" SHOW_OBJ = "SHOW" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltInFunc ¶
type Builtin ¶
type Builtin struct { Fn BuiltInFunc Token token.Token }
type IncludeObj ¶
func (*IncludeObj) GetToken ¶
func (ib *IncludeObj) GetToken() token.Token
func (*IncludeObj) Inspect ¶
func (ib *IncludeObj) Inspect() string
func (*IncludeObj) Type ¶
func (ib *IncludeObj) Type() ObjType
type Obj ¶
func MakeIntNumber ¶
type ReturnValue ¶
func (*ReturnValue) GetToken ¶
func (r *ReturnValue) GetToken() token.Token
func (*ReturnValue) Inspect ¶
func (r *ReturnValue) Inspect() string
func (*ReturnValue) Type ¶
func (r *ReturnValue) Type() ObjType
Click to show internal directories.
Click to hide internal directories.