scriptrunner

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package scriptrunner provides a script runner for DLiteScript.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScriptRunner

type ScriptRunner struct {
	OutFile io.Writer
	// contains filtered or unexported fields
}

ScriptRunner handles the execution of DLiteScript files.

func (*ScriptRunner) Output

func (r *ScriptRunner) Output() string

Output returns the result of the execution.

func (*ScriptRunner) RunScript

func (r *ScriptRunner) RunScript(file string) (byte, error)

RunScript executes a DLiteScript script file.

func (*ScriptRunner) RunString

func (r *ScriptRunner) RunString(str string, filePath ...string) (byte, error)

RunString executes a DLiteScript script from a string.

Jump to

Keyboard shortcuts

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