UnapplyModule

scala.quoted.Quotes.reflectModule.UnapplyModule

Methods of the module object val Unapply

Attributes

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

Members list

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*>)

Attributes

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*>)

Attributes

Source
Quotes.scala
def unapply(x: Unapply): (Term, List[Term], List[Tree])

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*>)

Attributes

Source
Quotes.scala