case classTopDown[T <: TreeNode[T]](rule: PartialFunction[T, T])(implicit evidence$7: ClassTag[T]) extends TreeRewriter[T] with Product with Serializable
Applies the given partial function starting from the root of this tree.
Note
Note the applied rule cannot insert new parent nodes.
Applies the given partial function starting from the root of this tree.
Note the applied rule cannot insert new parent nodes.