Dotty Documentation

0.14.0-bin-SNAPSHOT

class TreeMapWithImplicits
extends TreeMap

A TreeMap that maintains the necessary infrastructure to support contxtual implicit searches (type-scope implicits are supported anyway).

This incudes impicits defined in scope as well as imported implicits.

[-] Constructors

TreeMapWithImplicits ( )

[-] Members

[+] private def nestedScopeCtx ( defs: List [ Tree ] ) ( implicit ctx: Context ) : Context
[+] override def transform ( tree: Tree ) ( implicit ctx: Context ) : Tree
[+] def transformSelf ( vd: ValDef ) ( implicit ctx: Context ) : ValDef
[+] def transformStats ( stats: List [ Tree ] , exprOwner: Symbol ) ( implicit ctx: Context ) : List [ Tree ]

Transform statements, while maintaining import contexts and expression contexts in the same way as Typer does. The code addresses additional concerns: - be tail-recursive where possible - don't re-allocate trees where nothing has changed