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

Struct ScopeTraversalExpr

hclsyntax/expression.go:130–133  ·  view source on GitHub ↗

ScopeTraversalExpr is an Expression that retrieves a value from the scope using a traversal.

Source from the content-addressed store, hash-verified

128// ScopeTraversalExpr is an Expression that retrieves a value from the scope
129// using a traversal.
130type ScopeTraversalExpr struct {
131 Traversal hcl.Traversal
132 SrcRange hcl.Range
133}
134
135func (e *ScopeTraversalExpr) walkChildNodes(w internalWalkFunc) {
136 // Scope traversals have no child nodes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected