If

scala.quoted.runtime.impl.QuotesImpl.reflect$.If$
object If extends IfModule

Attributes

Graph
Supertypes
trait IfModule
class Object
trait Matchable
class Any
Self type
If.type

Members list

Concise view

Value members

Concrete methods

def apply(cond: Term, thenp: Term, elsep: Term): 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>

Attributes

def copy(original: Tree)(cond: Term, thenp: Term, elsep: Term): If
def unapply(tree: If): (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>

Attributes