TreeMap (original) (raw)

scala.quoted.Quotes.reflectModule.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

Source

Quotes.scala

Graph

Supertypes

Members list

Value members

Concrete methods

In this article

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL