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

Method sourceRange

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

Source from the content-addressed store, hash-verified

1612}
1613
1614func (s *TransformFuncSpec) sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range {
1615 // We'll just pass through our wrapped range here, even though that's
1616 // not super-accurate, because there's nothing better to return.
1617 return s.Wrapped.sourceRange(content, blockLabels)
1618}
1619
1620// RefineValueSpec is a spec that wraps another and applies a fixed set of [cty]
1621// value refinements to whatever value it produces.

Callers 1

decodeMethod · 0.95

Calls 1

sourceRangeMethod · 0.65

Tested by

no test coverage detected