WhileModule

Methods of the module object val While

Source:
Quotes.scala
class Object
trait Matchable
class Any

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 (, )

Source:
Quotes.scala
def copy(original: Tree)(cond: Term, body: Term): While
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 (, )

Source:
Quotes.scala