WithLazyField
A tree that can have a lazy field
The field is represented by some private var
which is
accessed by unforced
and force
. Forcing the field will
set the var
to the underlying value.
class Template[T]
class DerivingTemplate
class ValOrDefDef[T]
class DefDef[T]
class ValDef[T]
class EmptyValDef[T]