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

Method TraversalStep

traversal.go:275–277  ·  view source on GitHub ↗
(val cty.Value)

Source from the content-addressed store, hash-verified

273}
274
275func (tn TraverseIndex) TraversalStep(val cty.Value) (cty.Value, Diagnostics) {
276 return Index(val, tn.Key, &tn.SrcRange)
277}
278
279func (tn TraverseIndex) SourceRange() Range {
280 return tn.SrcRange

Callers

nothing calls this directly

Calls 1

IndexFunction · 0.85

Tested by

no test coverage detected