MCPcopy
hub / github.com/livebud/bud / VM

Interface VM

package/js/js.go:4–7  ·  view source on GitHub ↗

VM for evaluating javascript

Source from the content-addressed store, hash-verified

2
3// VM for evaluating javascript
4type VM interface {
5 Script(path, script string) error
6 Eval(path, expression string) (string, error)
7}

Callers 13

TestScriptFunction · 0.65
TestScriptEvalFunction · 0.65
scriptMethod · 0.65
LoadFunction · 0.65
runFunction · 0.65
renderMethod · 0.65
TestSvelteHelloFunction · 0.65
TestSvelteAwaitFunction · 0.65
renderFunction · 0.65
TestScriptEvalFunction · 0.65
renderMethod · 0.65
evalMethod · 0.65

Implementers 3

discardpackage/budhttp/discard.go
clientpackage/budhttp/client.go
VMpackage/js/v8/v8.go

Calls

no outgoing calls

Tested by

no test coverage detected