TreeTraverser

scala.quoted.Quotes.reflectModule.TreeTraverser

Customizable tree traverser.

Usage:

def inQuotes(using q: Quotes) = {
  import q.reflect._
  class MyTraverser extends TreeTraverser {
    override def traverseTree(tree: Tree)(owner: Symbol): Unit = ???
  }
}

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Inherited methods

Attributes

Inherited from:
TreeAccumulator

Attributes

Inherited from:
TreeAccumulator