stub

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInsufficientArgs = errors.New("not enough arguments")
	ErrTooManyArgs      = errors.New("too many arguments")
	ErrInvalidArg       = errors.New("invalid argument")
	ErrMapKeyMustBeStr  = errors.New("map key must be Str")
	ErrInvalidFieldType = errors.New("invalid field type")
)

Functions

func InvalidArg

func InvalidArg(args []vm.Value, idx int) error

func InvalidArgErr

func InvalidArgErr(args []vm.Value, idx int, err error) error

func MustMakeIter

func MustMakeIter(m *vm.VM, iterable vm.Value) vm.Iterator

func MustMakeReader

func MustMakeReader(m *vm.VM, readable vm.Value) vm.Reader

func StructDoesNotHaveField

func StructDoesNotHaveField(structName, fieldName string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL