MCPcopy
hub / github.com/google/go-jsonnet / evaluateFunction

Method evaluateFunction

interpreter.go:1185–1191  ·  view source on GitHub ↗

nolint:unused

(pv potentialValue)

Source from the content-addressed store, hash-verified

1183
1184//nolint:unused
1185func (i *interpreter) evaluateFunction(pv potentialValue) (*valueFunction, error) {
1186 v, err := i.evaluatePV(pv)
1187 if err != nil {
1188 return nil, err
1189 }
1190 return i.getFunction(v)
1191}
1192
1193func (i *interpreter) getObject(val value) (*valueObject, error) {
1194 switch v := val.(type) {

Callers

nothing calls this directly

Calls 2

evaluatePVMethod · 0.95
getFunctionMethod · 0.95

Tested by

no test coverage detected