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

Method TraverseRel

traversal.go:193–195  ·  view source on GitHub ↗

TraverseRel traverses from a given value, assumed to be the result of TraverseAbs on some scope, to a final result for the entire split traversal.

(val cty.Value)

Source from the content-addressed store, hash-verified

191// TraverseRel traverses from a given value, assumed to be the result of
192// TraverseAbs on some scope, to a final result for the entire split traversal.
193func (t TraversalSplit) TraverseRel(val cty.Value) (cty.Value, Diagnostics) {
194 return t.Rel.TraverseRel(val)
195}
196
197// Traverse is a convenience function to apply TraverseAbs followed by
198// TraverseRel.

Callers 1

TraverseMethod · 0.95

Calls 1

TraverseRelMethod · 0.45

Tested by

no test coverage detected