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