If

oxygen.quoted.If
See theIf companion class
object If

Attributes

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

Members list

Value members

Concrete methods

def companion(using quotes: Quotes): IfCompanion
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

def wrap(using quotes: Quotes)(unwrap: quotes.reflect.If): If

Givens

Givens

given given_Conversion_If_type_IfCompanion(using Quotes): Conversion[If.type, IfCompanion]