T trait

TreeTraverser

extends Object with TreeAccumulator

TASTy Reflect tree traverser.

Usage:

class MyTraverser[R <: scala.tasty.Reflection & Singleton](val reflect: R)
    extends scala.tasty.reflect.TreeTraverser {
  import reflect.{given _, _}
  override def traverseTree(tree: Tree)(using ctx: Context): Unit = ...
}

Supertypes

Object, TreeAccumulator

Members

def 

foldTree

( x: Unit tree: Tree ) ( implicit  ctx: Context ) : Unit

def 

traverseTree

( tree: Tree ) ( implicit  ctx: Context ) : Unit

protected def 

traverseTreeChildren

( tree: Tree ) ( implicit  ctx: Context ) : Unit