LinusU / gopher-hcl

The official HCL library, compiled to JavaScript with GopherJS
10 stars 4 forks source link

Is there a way to walk on the tree? #5

Closed Ghost---Shadow closed 5 years ago

Ghost---Shadow commented 5 years ago

Something like this https://godoc.org/github.com/hashicorp/hcl/hcl/ast#WalkFunc

Or at least is there a way to get what type of node it is?