TreeAccumulator
scala.quoted.Quotes.reflectModule.TreeAccumulator
Customizable Tree accumulator.
Usage:
def inQuotes(using q: Quotes) = {
import q.reflect.*
class MyTreeAccumulator[X] extends TreeAccumulator[X] {
def foldTree(x: X, tree: Tree)(owner: Symbol): X = ???
}
}
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Known subtypes
-
trait TreeTraverser
Members list
In this article