8 lines
130 B
Go
8 lines
130 B
Go
package node
|
|
|
|
type Visitor interface {
|
|
EnterNode(node Node) bool
|
|
GetChildrenVisitor(key string) Visitor
|
|
LeaveNode(node Node)
|
|
}
|