createTreeWalker

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