Dotty Documentation

0.6.0-bin-SNAPSHOT

class LiftTry
extends MiniPhase with IdentityDenotTransformer

Lifts try's that might be executed on non-empty expression stacks to their own methods. I.e.

try body catch handler

is lifted to

{ def liftedTree$n() = try body catch handler; liftedTree$n() }

[-] Constructors

LiftTry ( )

[-] Members

[+] private var NeedLift : Location [ Boolean ]
[+] val phaseName : String

the following two members override abstract members in Transform

[+] private def NeedLift_= ( x$1: Location [ Boolean ] ) : Unit
[+] override def initContext ( ctx: FreshContext ) : Unit
[+] private def liftingCtx ( p: Boolean ) ( implicit ctx: Context ) : Context
[+] private def needLift ( implicit ctx: Context ) : Boolean
[+] override def prepareForApply ( tree: Apply ) ( implicit ctx: Context ) : Context
[+] override def prepareForAssign ( tree: Assign ) ( implicit ctx: Context ) : Context
[+] override def prepareForReturn ( tree: Return ) ( implicit ctx: Context ) : Context
[+] override def prepareForTemplate ( tree: Template ) ( implicit ctx: Context ) : Context
[+] override def prepareForValDef ( tree: ValDef ) ( implicit ctx: Context ) : Context
[+] override def transformTry ( tree: Try ) ( implicit ctx: Context ) : Tree