createTreeWalker

fun createTreeWalker(root: Node, whatToShow: Int, filter: NodeFilter?): TreeWalker
fun createTreeWalker(root: Node, whatToShow: Int, filter: (Node) -> Short?): TreeWalker