9 lines
169 B
Go
9 lines
169 B
Go
package node
|
|
|
|
type Visitor interface {
|
|
EnterNode(node Node) bool
|
|
GetChildrenVisitor(key string) Visitor
|
|
Scalar(key string, value interface{})
|
|
LeaveNode(node Node)
|
|
}
|