Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadOptions ¶
type LoadOptions 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 Load ¶
func Load(src io.Reader, packages scriggo.PackageLoader, options *LoadOptions) (*Script, error)
Load loads 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.