UnapplyModule

Methods of the module object val Unapply

Source:
Quotes.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(fun: Term, implicits: List[Term], patterns: List[Tree]): Unapply

Create an Unapply tree representing a pattern <fun>(<patterns*>)(using <implicits*>)

Create an Unapply tree representing a pattern <fun>(<patterns*>)(using <implicits*>)

Source:
Quotes.scala
def copy(original: Tree)(fun: Term, implicits: List[Term], patterns: List[Tree]): Unapply

Copy an Unapply tree representing a pattern <fun>(<patterns*>)(using <implicits*>)

Copy an Unapply tree representing a pattern <fun>(<patterns*>)(using <implicits*>)

Source:
Quotes.scala

Matches an Unapply(fun, implicits, patterns) tree representing a pattern <fun>(<patterns*>)(using <implicits*>)

Matches an Unapply(fun, implicits, patterns) tree representing a pattern <fun>(<patterns*>)(using <implicits*>)

Source:
Quotes.scala