MCPcopy Create free account
hub / github.com/PaesslerAG/jsonpath / newScript

Function newScript

selector.go:199–203  ·  view source on GitHub ↗

()

(script gval.Evaluable)

Source from the content-addressed store, hash-verified

197
198// ()
199func newScript(script gval.Evaluable) plainSelector {
200 return func(c context.Context, r, v interface{}) (interface{}, error) {
201 return script(currentContext(c, v), r)
202 }
203}

Callers 1

parseScriptMethod · 0.85

Calls 1

currentContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…