IfModule

scala.quoted.Quotes.reflectModule.IfModule
trait IfModule

Methods of the module object val If

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
If.type

Members list

Value members

Abstract 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

Source
Quotes.scala
def copy(original: Tree)(cond: Term, thenp: Term, elsep: Term): If

Attributes

Source
Quotes.scala
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

Source
Quotes.scala