Documentation
¶
Overview ¶
Package vm provides a wrapper around the goja runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrCompilation is returned when a script fails to compile. ErrCompilation = errors.New("script compilation failed") // ErrRuntime is returned when a script fails to run. ErrRuntime = errors.New("script runtime failure") )
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.7.1
type Option func(*Options)
func WithScriptStartingLineNumber ¶ added in v0.7.1
Click to show internal directories.
Click to hide internal directories.