DeepFolder

class DeepFolder[X](f: (X, Tree) => X) extends TreeAccumulator[X]

Fold f over all tree nodes, in depth-first, prefix order

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(x: X, tree: Tree)(using Context): X

Inherited methods

def apply(x: X, trees: List[Tree])(using Context): X
Inherited from:
TreeAccumulator
def foldMoreCases(x: X, tree: Tree)(using Context): X
Inherited from:
TreeAccumulator
def foldOver(x: X, tree: Tree)(using Context): X
Inherited from:
TreeAccumulator