findAll

open fun <T : Node?> findAll(nodeType: Class<T>): List<T>(source)

Walks the AST with pre-order traversal, returning all nodes of type "nodeType".


open fun <T : Node?> findAll(nodeType: Class<T>, traversal: Node.TreeTraversal): List<T>(source)

Walks the AST with specified traversal order, returning all nodes of type "nodeType".


open fun <T : Node?> findAll(nodeType: Class<T>, predicate: Predicate<T>): List<T>(source)

Walks the AST with pre-order traversal, returning all nodes of type "nodeType" that match the predicate.