createTreeWalker

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

Since Kotlin

1.1