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

Method evaluateString

interpreter.go:1131–1137  ·  view source on GitHub ↗

nolint:unused

(pv potentialValue)

Source from the content-addressed store, hash-verified

1129
1130//nolint:unused
1131func (i *interpreter) evaluateString(pv potentialValue) (valueString, error) {
1132 v, err := i.evaluatePV(pv)
1133 if err != nil {
1134 return nil, err
1135 }
1136 return i.getString(v)
1137}
1138
1139func (i *interpreter) getBoolean(val value) (*valueBoolean, error) {
1140 switch v := val.(type) {

Callers

nothing calls this directly

Calls 2

evaluatePVMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected