Closure
sealed case class Closure(arrow: Boolean, captureParams: List[ParamDef], params: List[ParamDef], restParam: Option[ParamDef], body: Tree, captureValues: List[Tree])(pos: Position) extends Tree
Closure with explicit captures.
Closure with explicit captures.
- Value Params
- arrow
If
true, the closure is an Arrow Function (=>), which does not have anthisparameter, and cannot be constructed (called withnew). Iffalse, it is a regular Function (function).
trait Serializable
trait Product
trait Equals
class Tree
trait TreeOrJSSpread
class IRNode
class Object
trait Matchable
class Any