T trait

TreeMap

extends Object

TASTy Reflect tree map.

Usage:

class MyTreeMap[R <: scala.tasty.Reflection & Singleton](val reflect: R)
    extends scala.tasty.reflect.TreeMap {
  import reflect.{given _, _}
  override def transformTree(tree: Tree)(using ctx: Context): Tree = ...
}

Supertypes

Object

Members

val 

reflect

: Reflection

def 

transformCaseDef

( tree: CaseDef ) ( implicit  ctx: Context ) : CaseDef

def 

transformCaseDefs

( trees: List[CaseDef] ) ( implicit  ctx: Context ) : List[CaseDef]

def 

transformStatement

( tree: Statement ) ( implicit  ctx: Context ) : Statement

def 

transformStats

( trees: List[Statement] ) ( implicit  ctx: Context ) : List[Statement]

def 

transformSubTrees

[Tr] ( trees: List[Tr] ) ( implicit  ctx: Context ) : List[Tr]

def 

transformTerm

( tree: Term ) ( implicit  ctx: Context ) : Term

def 

transformTerms

( trees: List[Term] ) ( implicit  ctx: Context ) : List[Term]

def 

transformTree

( tree: Tree ) ( implicit  ctx: Context ) : Tree

def 

transformTrees

( trees: List[Tree] ) ( implicit  ctx: Context ) : List[Tree]

def 

transformTypeCaseDef

( tree: TypeCaseDef ) ( implicit  ctx: Context ) : TypeCaseDef

def 

transformTypeCaseDefs

( trees: List[TypeCaseDef] ) ( implicit  ctx: Context ) : List[TypeCaseDef]

def 

transformTypeTree

( tree: TypeTree ) ( implicit  ctx: Context ) : TypeTree

def 

transformTypeTrees

( trees: List[TypeTree] ) ( implicit  ctx: Context ) : List[TypeTree]