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

Struct RelativeTraversalExpr

hclsyntax/expression.go:160–164  ·  view source on GitHub ↗

RelativeTraversalExpr is an Expression that retrieves a value from another value using a _relative_ traversal.

Source from the content-addressed store, hash-verified

158// RelativeTraversalExpr is an Expression that retrieves a value from another
159// value using a _relative_ traversal.
160type RelativeTraversalExpr struct {
161 Source Expression
162 Traversal hcl.Traversal
163 SrcRange hcl.Range
164}
165
166func (e *RelativeTraversalExpr) walkChildNodes(w internalWalkFunc) {
167 w(e.Source)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected