ext

package
v0.0.0-...-8d81e62 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrigSL

type TrigSL struct {
	lsl.LuaLoader
}

TrigSL ... Simple language wrapper around lsl

func NewTrigSL

func NewTrigSL(in io.Reader, out io.Writer) *TrigSL

NewTrigSL ... creates a new TrigSL

func (TrigSL) RunCode

func (ll TrigSL) RunCode(code string, trig *trigr.Trigger, out chan *trigr.Trigger) error

RunCode ... Execute code path

func (*TrigSL) RunFile

func (ll *TrigSL) RunFile(path string, trig *trigr.Trigger, out chan *trigr.Trigger) error

RunFile ... Runs a DSL file

func (TrigSL) RunFunction

func (ll TrigSL) RunFunction(file io.Reader, name string, trig *trigr.Trigger, out chan *trigr.Trigger, params ...lua.LValue) error

RunFunction ... Execute code path

func (*TrigSL) RunTest

func (ll *TrigSL) RunTest(path string, trig *trigr.Trigger, out chan *trigr.Trigger) error

RunTest ... Execute test file in dsl mode

Jump to

Keyboard shortcuts

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