ValDefModule

Methods of the module object val ValDef

class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(symbol: Symbol, rhs: Option[Term]): ValDef
def copy(original: Tree)(name: String, tpt: TypeTree, rhs: Option[Term]): ValDef
def let(owner: Symbol, name: String, rhs: Term)(body: Ident => Term): Term

Creates a block { val = ; }

def let(owner: Symbol, terms: List[Term])(body: List[Ident] => Term): Term

Creates a block { val x1 = ; ...; val xn = ; }

Concrete methods

def let(owner: Symbol, rhs: Term)(body: Ident => Term): Term

Creates a block { val x = ; }