TreeMap

scala.quoted.Quotes.reflectModule.TreeMap
trait TreeMap

Customizable tree mapper.

Usage:

def inQuotes(using q: Quotes) = {
  import q.reflect._
  class MyTreeMap extends TreeMap {
    override def transformTree(tree: Tree)(owner: Symbol): Tree = ???
  }
}

Use Symbol.asQuotes to create quotes with the correct owner within the TreeMap.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any