TreeMapWithStages

dotty.tools.dotc.staging.TreeMapWithStages
abstract class TreeMapWithStages extends TreeMapWithImplicits

TreeMap that keeps track of staging levels using StagingLevel.

Attributes

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

Members list

Value members

Abstract methods

protected def transformSplice(body: Tree, splice: Apply)(using Context): Tree

Transform the expression splice splice which contains the spliced body.

Transform the expression splice splice which contains the spliced body.

Attributes

protected def transformSpliceType(body: Tree, splice: Select)(using Context): Tree

Transform the type splice splice which contains the spliced body.

Transform the type splice splice which contains the spliced body.

Attributes

Concrete methods

protected def isInQuoteOrSplice: Boolean

If we are inside a quote or a splice

If we are inside a quote or a splice

Attributes

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

Attributes

Definition Classes
protected def transformQuotation(body: Tree, quote: Apply)(using Context): Tree

Transform the quote quote which contains the quoted body.

Transform the quote quote which contains the quoted body.

  • quoted.runtime.Expr.quote[T](<body0>) --> quoted.runtime.Expr.quote[T](<body>)
  • quoted.Type.of[<body0>](quotes) --> quoted.Type.of[<body>](quotes)

Attributes

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