TreeMapWithTrackedStats

dotty.tools.dotc.ast.TreeMapWithTrackedStats
See theTreeMapWithTrackedStats companion object

It is safe to assume that the companion of a tree is in the same scope. Therefore, when expanding MacroAnnotations, we will only keep track of the trees in the same scope as the current transformed tree

Attributes

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

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[Instance.this.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