TreeTraverser
scala.quoted.Quotes.reflectModule.TreeTraverser
trait TreeTraverser extends TreeAccumulator[Unit]
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
Members list
In this article