Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JavaScript ¶
type JavaScript struct{}
func New ¶
func New() *JavaScript
func (*JavaScript) Args ¶
func (j *JavaScript) Args(wrappedCode string) []string
Args returns the command-line arguments for the QuickJS interpreter.
func (*JavaScript) Module ¶
func (j *JavaScript) Module() []byte
func (*JavaScript) Name ¶
func (j *JavaScript) Name() string
func (*JavaScript) SessionInit ¶
func (j *JavaScript) SessionInit() string
SessionInit returns code to set session mode flag for JavaScript.
func (*JavaScript) WrapCode ¶
func (j *JavaScript) WrapCode(code string) string
WrapCode prepends the goru stdlib to user code.
Click to show internal directories.
Click to hide internal directories.