TreeMapWithStages

dotty.tools.dotc.transform.TreeMapWithStages
See theTreeMapWithStages companion object
abstract class TreeMapWithStages(ictx: Context) extends TreeMapWithImplicits

The main transformer class

Value parameters

level

the current level, where quotes add one and splices subtract one level. The initial level is 0, a level l where l > 0 implies code has been quoted l times and l == -1 is code inside a top level splice (in an inline method).

levels

a stacked map from symbols to the levels in which they were defined

Attributes

Companion
object
Graph
Supertypes
class TreeMap
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

override def transform(tree: Tree)(using Context): Tree

Attributes

Definition Classes

Inherited methods

def transform(trees: List[Tree])(using Context): List[Tree]

Attributes

Inherited from:
TreeMap
override def transformBlock(blk: Block)(using Context): Block

Attributes

Definition Classes
Inherited from:
TreeMapWithPreciseStatContexts

Attributes

Inherited from:
TreeMap

Attributes

Inherited from:
TreeMap
def transformSelf(vd: ValDef)(using Context): ValDef

Attributes

Inherited from:
TreeMapWithImplicits
final override def transformStats(trees: List[Tree], exprOwner: Symbol)(using Context): List[Tree]

Attributes

Definition Classes
Inherited from:
TreeMapWithPreciseStatContexts
def transformStats[T](trees: List[Tree], exprOwner: Symbol, wrapResult: List[Tree] => Context ?=> T)(using Context): T

Attributes

Inherited from:
TreeMapWithPreciseStatContexts
def transformSub[Tr <: Tree](trees: List[Tr])(using Context): List[Tr]

Attributes

Inherited from:
TreeMap
def transformSub[Tr <: Tree](tree: Tr)(using Context): Tr

Attributes

Inherited from:
TreeMap

Inherited fields

Attributes

Inherited from:
TreeMap