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
- Source
- Quotes.scala
- Graph
-
- Supertypes
Members list
In this article