Versions in this module Expand all Collapse all v0 v0.5.18 Feb 22, 2025 v0.5.17 Oct 5, 2024 Changes in this version + const ARRAY_OBJ + const AT + const BOOLEAN_OBJ + const BREAK_OBJ + const BUILTIN_OBJ + const BYTE_OBJ + const CONTINUE_OBJ + const DICT_OBJ + const ERROR_OBJ + const FILE_OBJ + const FLOAT_OBJ + const FUNCTION_OBJ + const INSTANCE + const INTEGER_OBJ + const JSON_OBJ + const MODULE_OBJ + const NULL_OBJ + const PACKAGE_OBJ + const RETURN_VALUE_OBJ + const STRING_OBJ + const TIME_OBJ + type Array struct + Elements []Object + func (a *Array) Method(method string, args []Object) Object + func (ao *Array) Inspect() string + func (ao *Array) Next() (Object, Object) + func (ao *Array) Reset() + func (ao *Array) Type() ObjectType + type At struct + Instance *Instance + func (a *At) Inspect() string + func (a *At) Type() ObjectType + type Boolean struct + Value bool + func (b *Boolean) HashKey() HashKey + func (b *Boolean) Inspect() string + func (b *Boolean) Type() ObjectType + type Break struct + func (b *Break) Inspect() string + func (b *Break) Type() ObjectType + type Builtin struct + Fn BuiltinFunction + func (b *Builtin) Inspect() string + func (b *Builtin) Type() ObjectType + type BuiltinFunction func(args ...Object) Object + type Byte struct + String string + Value []byte + func (b *Byte) Inspect() string + func (b *Byte) Type() ObjectType + type Continue struct + func (c *Continue) Inspect() string + func (c *Continue) Type() ObjectType + type Dict struct + Pairs map[HashKey]DictPair + func (d *Dict) Inspect() string + func (d *Dict) Next() (Object, Object) + func (d *Dict) Reset() + func (d *Dict) Type() ObjectType + type DictPair struct + Key Object + Value Object + type Environment struct + func NewEnclosedEnvironment(outer *Environment) *Environment + func NewEnvironment() *Environment + func (e *Environment) Del(name string) bool + func (e *Environment) Get(name string) (Object, bool) + func (e *Environment) Set(name string, val Object) Object + type Error struct + Message string + func (e *Error) Inspect() string + func (e *Error) Type() ObjectType + type File struct + Content string + Filename string + func (f *File) Inspect() string + func (f *File) Method(method string, args []Object) Object + func (f *File) Type() ObjectType + type Float struct + Value float64 + func (f *Float) HashKey() HashKey + func (f *Float) Inspect() string + func (f *Float) Type() ObjectType + type Function struct + Body *ast.BlockStatement + Defaults map[string]ast.Expression + Env *Environment + Name string + Parameters []*ast.Identifier + func (f *Function) Inspect() string + func (f *Function) Type() ObjectType + type HashKey struct + Type ObjectType + Value uint64 + type Hashable interface + HashKey func() HashKey + type Instance struct + Env *Environment + Package *Package + func (i *Instance) Inspect() string + func (i *Instance) Type() ObjectType + type Integer struct + Value int64 + func (i *Integer) HashKey() HashKey + func (i *Integer) Inspect() string + func (i *Integer) Type() ObjectType + type Iterable interface + Next func() (Object, Object) + Reset func() + type Module struct + Functions map[string]ModuleFunction + Name string + func (m *Module) Inspect() string + func (m *Module) Type() ObjectType + type ModuleFunction func(args []Object, defs map[string]Object) Object + type Null struct + func (n *Null) Inspect() string + func (n *Null) Type() ObjectType + type Object interface + Inspect func() string + Type func() ObjectType + type ObjectType string + type Package struct + Env *Environment + Name *ast.Identifier + Scope *Environment + func (p *Package) Inspect() string + func (p *Package) Type() ObjectType + type ReturnValue struct + Value Object + func (rv *ReturnValue) Inspect() string + func (rv *ReturnValue) Type() ObjectType + type String struct + Value string + func (s *String) HashKey() HashKey + func (s *String) Inspect() string + func (s *String) Method(method string, args []Object) Object + func (s *String) Next() (Object, Object) + func (s *String) Reset() + func (s *String) Type() ObjectType + type Time struct + TimeValue string + func (t *Time) Inspect() string + func (t *Time) Method(method string, args []Object, defs map[string]Object) Object + func (t *Time) Type() ObjectType