script

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytecode

func Bytecode(paths ...string) (*compiler.Bytecode, error)

Types

type Script

type Script struct {
	Source string
}

func Source

func Source(source string) *Script

func (*Script) Blueprint

func (s *Script) Blueprint() (*compiler.Bytecode, error)

func (*Script) Content

func (s *Script) Content() (string, error)

func (*Script) Readfile

func (s *Script) Readfile() (string, error)

func (*Script) Run

func (s *Script) Run(timeouts ...time.Duration) (value.Value, error)

func (*Script) Test

func (s *Script) Test(iterations int) (value.Value, error)

Jump to

Keyboard shortcuts

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