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

Method evaluateArray

interpreter.go:1167–1173  ·  view source on GitHub ↗

nolint:unused

(pv potentialValue)

Source from the content-addressed store, hash-verified

1165
1166//nolint:unused
1167func (i *interpreter) evaluateArray(pv potentialValue) (*valueArray, error) {
1168 v, err := i.evaluatePV(pv)
1169 if err != nil {
1170 return nil, err
1171 }
1172 return i.getArray(v)
1173}
1174
1175func (i *interpreter) getFunction(val value) (*valueFunction, error) {
1176 switch v := val.(type) {

Callers

nothing calls this directly

Calls 2

evaluatePVMethod · 0.95
getArrayMethod · 0.95

Tested by

no test coverage detected