Visitor

typealias Visitor<T> = (TreeNode<T>) -> Unit