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