WhileModule

scala.quoted.Quotes.reflectModule.WhileModule
trait WhileModule

Methods of the module object val While

Attributes

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

Members list

Value members

Abstract methods

def apply(cond: Term, body: Term): While

Creates a while loop while (<cond>) <body> and returns ( , )

Creates a while loop while (<cond>) <body> and returns ( , )

Attributes

Source
Quotes.scala
def copy(original: Tree)(cond: Term, body: Term): While

Attributes

Source
Quotes.scala
def unapply(x: While): (Term, Term)

Extractor for while loops. Matches while (<cond>) <body> and returns ( , )

Extractor for while loops. Matches while (<cond>) <body> and returns ( , )

Attributes

Source
Quotes.scala