TreeTraverser

Customizable tree traverser.

Usage:

package scala.quoted
trait Snippet0 { self: runtime.QuoteUnpickler & scala.quoted.runtime.QuoteMatching &    scala.quoted.Quotes =>
  val QuoteUnpickler = self
  val QuoteMatching = self
  val Quotes = self
  trait Snippet1 { self: Quotes.reflect.type /*Quotes.reflectModule*/ &    Quotes.reflectModule =>
    val reflect = self
    val reflectModule = self
    trait Snippet2 { self: reflectModule.TreeTraverser =>
      val TreeTraverser = self
      class MyTraverser extends TreeTraverser {
        override def traverseTree(tree: Tree)(owner: Symbol): Unit = ???
      }
    }
  }
}
Source:
Quotes.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Inherited methods

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