IfModule
scala.quoted.Quotes.reflectModule.IfModule
trait IfModule
Methods of the module object val If
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Value members
Abstract methods
def apply(cond: Quotes.this.reflectModule.this.Term, thenp: Quotes.this.reflectModule.this.Term, elsep: Quotes.this.reflectModule.this.Term): Quotes.this.reflectModule.this.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: Quotes.this.reflectModule.this.Tree)(cond: Quotes.this.reflectModule.this.Term, thenp: Quotes.this.reflectModule.this.Term, elsep: Quotes.this.reflectModule.this.Term): Quotes.this.reflectModule.this.If
Attributes
- Source
- Quotes.scala
def unapply(tree: Quotes.this.reflectModule.this.If): (Quotes.this.reflectModule.this.Term, Quotes.this.reflectModule.this.Term, Quotes.this.reflectModule.this.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
In this article