Documentation
¶
Index ¶
- Variables
- func Body(args []string, i int) string
- func JS(args []string) string
- func NewVM(writeOut func(string)) *goja.Runtime
- func Quote(s string) string
- func Start(parser Parser, args []string, opts Options) int
- func Stringify(value goja.Value, vm *goja.Runtime, depth int) string
- type ExitError
- type Options
- type Parser
Constants ¶
This section is empty.
Variables ¶
View Source
var FilePath string
FilePath is the file being processed, empty if stdin.
View Source
var Stdlib string
Functions ¶
Types ¶
type ExitError ¶
type ExitError struct {
Code int
}
ExitError is used by exit() to signal a specific exit code.
Click to show internal directories.
Click to hide internal directories.