Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOptions ¶ added in v0.31.0
type BuildOptions struct {
Globals Declarations // globals.
AllowShebangLine bool // allow shebang line
DisallowGoStmt bool // disallow "go" statement.
}
type Script ¶
type Script struct {
// contains filtered or unexported fields
}
func Build ¶ added in v0.31.0
func Build(src io.Reader, packages scriggo.PackageLoader, options *BuildOptions) (*Script, error)
Build builds a script with the given options, loading the imported packages from packages.
func (*Script) Disassemble ¶
Disassemble disassembles the script.
Click to show internal directories.
Click to hide internal directories.