Documentation ¶
Index ¶
- Constants
- Variables
- func CoerceToBool(v Value) bool
- func IsIterable(v Value) bool
- func IsReadable(v Value) bool
- func TypeName(v Value) string
- type Array
- type Bool
- type Callable
- type CloseFn
- type Closure
- type Compiler
- type ErrLogger
- type Float
- type Frame
- type FrameCrumb
- type Func
- type Indexable
- type Int
- type Iterable
- type Iterator
- type Metadata
- type NativeFn
- type NativePackageReader
- type Object
- type Op
- type PackagerReader
- type Pos
- type Program
- type Readable
- type Reader
- type Regex
- type RuntimeError
- type String
- type VM
- type Value
- type ValueRef
Constants ¶
Variables ¶
View Source
var ( True = vm.True False = vm.False )
View Source
var ErrCannotCallNil = vm.ErrCannotCallNil
Functions ¶
func CoerceToBool ¶
func IsIterable ¶
func IsReadable ¶
Types ¶
type Array ¶
func NewArrayFromSlice ¶
type ErrLogger ¶
func NewConsoleErrLogger ¶
func NewConsoleErrLogger() ErrLogger
type FrameCrumb ¶
type FrameCrumb = vm.FrameCrumb
type NativePackageReader ¶ added in v0.3.0
type NativePackageReader = mod.NativePackageReader
func NewNativePackageReader ¶ added in v0.3.0
func NewNativePackageReader(path string) *NativePackageReader
type PackagerReader ¶ added in v0.3.0
type PackagerReader = mod.PackageReader
type Program ¶
type Program = vm.CompiledPackage
type RuntimeError ¶
type RuntimeError = vm.RuntimeError
Click to show internal directories.
Click to hide internal directories.