scripting

package
v0.0.0-...-14ac238 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(code string) status.Status

Types

type Script

type Script interface {
	Name() string
	Code() string
}

func MakeScript

func MakeScript(name, code string) Script

type State

type State interface {
	Execute(string) status.Status
	Preload(string, lua.LGFunction)
	Script(string, *lua.LFunction)
}

Jump to

Keyboard shortcuts

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