Closure

sealed case
class Closure(arrow: Boolean, captureParams: List[ParamDef], params: List[ParamDef], restParam: Option[ParamDef], body: Tree, captureValues: List[Tree])(implicit pos: Position) extends Tree

Closure with explicit captures.

Value Params
arrow

If true, the closure is an Arrow Function (=>), which does not have an this parameter, and cannot be constructed (called with new). If false, it is a regular Function (function).

trait Product
trait Equals
class Tree
class IRNode
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from
Product
Inherited from
IRNode

Concrete fields

val tpe: Type

Implicits

Implicits

implicit