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
class TreeMap
class Object
trait Matchable
class Any

Value members

Concrete methods

override def transformBlock(blk: Block)(using Context): Block
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]
Definition Classes

Inherited methods

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