#31 dump to native golang struct

This commit is contained in:
z7zmey
2018-06-18 23:29:52 +03:00
parent 063726aac4
commit dd572a8fed
173 changed files with 1279 additions and 735 deletions

View File

@@ -10,7 +10,12 @@ type Walkable interface {
// Visitor interface
type Visitor interface {
EnterNode(w Walkable) bool // EnterNode is invoked for each node encountered by Walk.
GetChildrenVisitor(Key string) Visitor // GetChildrenVisitor is invoked at every node parameter that contains children nodes
LeaveNode(w Walkable) // LeaveNode is invoked after node processed
EnterNode(w Walkable) bool
LeaveNode(w Walkable)
EnterChildNode(key string, w Walkable)
LeaveChildNode(key string, w Walkable)
EnterChildList(key string, w Walkable)
LeaveChildList(key string, w Walkable)
}