TreeMapWithPreciseStatContexts

dotty.tools.dotc.ast.tpd$.TreeMapWithPreciseStatContexts

A treemap that generates the same contexts as the original typer for statements. This means:

  • statements that are not definitions get the exprOwner as owner
  • imports are reflected in the contexts of subsequent statements

Attributes

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

Members list

Value members

Concrete methods

override def transformBlock(blk: Block)(using Context): Block

Attributes

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

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
TreeMap
def transform(tree: Tree)(using Context): Tree

Attributes

Inherited from:
TreeMap

Attributes

Inherited from:
TreeMap

Attributes

Inherited from:
TreeMap
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