Walker is an interface used with Walk.
| 26 | |
| 27 | // Walker is an interface used with Walk. |
| 28 | type Walker interface { |
| 29 | Enter(node Node) hcl.Diagnostics |
| 30 | Exit(node Node) hcl.Diagnostics |
| 31 | } |
| 32 | |
| 33 | // Walk is a more complex way to traverse the AST starting with a particular |
| 34 | // node, which provides information about the tree structure via separate |