The main transformer class
- Value Params
- level
the current level, where quotes add one and splices subtract one level. The initial level is 0, a level
l
wherel > 0
implies code has been quotedl
times andl == -1
is code inside a top level splice (in an inline method).- levels
a stacked map from symbols to the levels in which they were defined
- Companion
- object
Value members
Concrete methods
Inherited methods
Transform statements, while maintaining import contexts and expression contexts in the same way as Typer does. The code addresses additional concerns:
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
- Definition Classes
- Inherited from
- TreeMapWithImplicits