MCPcopy
hub / github.com/hashicorp/hcl / sourceRange

Method sourceRange

hcldec/spec.go:1549–1553  ·  view source on GitHub ↗
(content *hcl.BodyContent, blockLabels []blockLabel)

Source from the content-addressed store, hash-verified

1547}
1548
1549func (s *TransformExprSpec) sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range {
1550 // We'll just pass through our wrapped range here, even though that's
1551 // not super-accurate, because there's nothing better to return.
1552 return s.Wrapped.sourceRange(content, blockLabels)
1553}
1554
1555// TransformFuncSpec is a spec that wraps another and then evaluates a given
1556// cty function with the result. The given function must expect exactly one

Callers

nothing calls this directly

Calls 1

sourceRangeMethod · 0.65

Tested by

no test coverage detected