IfCompanion

oxygen.quoted.companion.IfCompanion
final class IfCompanion(using quotes: Quotes)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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