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

Interface Walker

hclsyntax/walk.go:28–31  ·  hclsyntax/walk.go::Walker

Walker is an interface used with Walk.

Source from the content-addressed store, hash-verified

26
27// Walker is an interface used with Walk.
28type 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

Callers 9

WalkFunction · 0.65
TestMainFunction · 0.65
mainFunction · 0.65
WalkFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
usageFunction · 0.65
mainFunction · 0.65
realmainFunction · 0.65

Implementers 2

variablesWalkerhclsyntax/variables.go
testWalkerhclsyntax/walk_test.go

Calls

no outgoing calls

Tested by

no test coverage detected