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

Struct variablesWalker

hclsyntax/variables.go:31–34  ·  view source on GitHub ↗

variablesWalker is a Walker implementation that calls its callback for any root scope traversal found while walking.

Source from the content-addressed store, hash-verified

29// variablesWalker is a Walker implementation that calls its callback for any
30// root scope traversal found while walking.
31type variablesWalker struct {
32 Callback func(hcl.Traversal)
33 localScopes []map[string]struct{}
34}
35
36func (w *variablesWalker) Enter(n Node) hcl.Diagnostics {
37 switch tn := n.(type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected