MCPcopy Create free account
hub / github.com/buke/quickjs-go / EvalLoadOnly

Function EvalLoadOnly

context.go:919–923  ·  view source on GitHub ↗
(loadOnly bool)

Source from the content-addressed store, hash-verified

917}
918
919func EvalLoadOnly(loadOnly bool) EvalOption {
920 return func(flags *EvalOptions) {
921 flags.load_only = loadOnly
922 }
923}
924
925// Eval returns a js value with given code.
926// Need call Free() `quickjs.Value`'s returned by `Eval()` and `EvalFile()` and `EvalBytecode()`.

Callers 2

TestContextModulesFunction · 0.85
LoadModuleMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestContextModulesFunction · 0.68