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

Method evaluateInt

interpreter.go:1091–1097  ·  view source on GitHub ↗
(pv potentialValue)

Source from the content-addressed store, hash-verified

1089}
1090
1091func (i *interpreter) evaluateInt(pv potentialValue) (int, error) {
1092 v, err := i.evaluatePV(pv)
1093 if err != nil {
1094 return 0, err
1095 }
1096 return i.getInt(v)
1097}
1098
1099//nolint:unused
1100func (i *interpreter) getInt64(val value) (int64, error) {

Callers 1

builtinDecodeUTF8Function · 0.80

Calls 2

evaluatePVMethod · 0.95
getIntMethod · 0.95

Tested by

no test coverage detected