Dotty Documentation

0.14.0-bin-SNAPSHOT

case class DefDef [ -T ]
extends ValOrDefDef with Product with Serializable

mods def nametparams...(vparams_n): tpt = rhs

[-] Constructors

DefDef ( name: TermName , tparams: List [ TypeDef [ T ] ] , vparamss: List [ List [ ValDef [ T ] ] ] , tpt: Tree [ T ] , preRhs: LazyTree )
DefDef ( implicit src: SourceFile )

[-] Members

[+] type ThisTree = DefDef [ -T ]

The type constructor at the root of the tree

[+] val name : TermName
[+] private var preRhs : LazyTree
[+] @constructorOnly private implicit val src : SourceFile
[+] val tparams : List [ TypeDef [ T ] ]
[+] val tpt : Tree [ T ]
[+] val vparamss : List [ List [ ValDef [ T ] ] ]
[+] protected def force ( x: AnyRef ) : Unit
[+] private def preRhs_= ( x$1: LazyTree ) : Unit
[+] def unforced : LazyTree