UntypedDeepFolder

dotty.tools.dotc.ast.untpd$.UntypedDeepFolder
class UntypedDeepFolder[X](f: (X, Tree) => X) extends UntypedTreeAccumulator[X]

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

Attributes

Graph
Supertypes
class TreeAccumulator[X]
class Object
trait Matchable
class Any

Members list

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

Attributes

Inherited from:
TreeAccumulator
override def foldMoreCases(x: X, tree: Tree)(using Context): X

Attributes

Definition Classes
Inherited from:
UntypedTreeAccumulator
def foldOver(x: X, tree: Tree)(using Context): X

Attributes

Inherited from:
TreeAccumulator