O object

If

extends Object with Serializable

Scala if/else term

Supertypes

Object, Serializable

Members

def 

apply

( cond: Term thenp: Term elsep: Term ) ( implicit  ctx: Context ) : If

Create an if/then/else if (<cond: Term>) <thenp: Term> else <elsep: Term>

Create an if/then/else if (<cond: Term>) <thenp: Term> else <elsep: Term>

def 

copy

( original: Tree ) ( cond: Term thenp: Term elsep: Term ) ( implicit  ctx: Context ) : If

def 

unapply

( tree: If ) ( implicit  ctx: Context ) : Option[( Term, Term, Term )]

Matches an if/then/else if (<cond: Term>) <thenp: Term> else <elsep: Term>

Matches an if/then/else if (<cond: Term>) <thenp: Term> else <elsep: Term>