TreeTraverser

scala.quoted.Quotes.reflectModule.TreeTraverser

Customizable tree traverser.

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

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def foldTree(x: Unit, tree: Tree)(owner: Symbol): Unit

Attributes

Source
Quotes.scala
def traverseTree(tree: Tree)(owner: Symbol): Unit

Attributes

Source
Quotes.scala
protected def traverseTreeChildren(tree: Tree)(owner: Symbol): Unit

Attributes

Source
Quotes.scala

Inherited methods

def foldOverTree(x: Unit, tree: Tree)(owner: Symbol): Unit

Attributes

Inherited from:
TreeAccumulator
Source
Quotes.scala
def foldTrees(x: Unit, trees: Iterable[Tree])(owner: Symbol): Unit

Attributes

Inherited from:
TreeAccumulator
Source
Quotes.scala