TreeTraverser

Customizable tree traverser.

Usage:

import quotes.reflect._
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