UnapplyModule
Methods of the module object val Unapply.
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Value members
Abstract methods
Creates an Unapply tree representing a pattern ()(using ).
Creates an Unapply tree representing a pattern ()(using ).
Value parameters
- fun
-
the extractor function
- implicits
-
the implicit arguments passed to the extractor
- patterns
-
the list of nested patterns
Attributes
- Returns
-
an
Unapplytree representing the extractor pattern - Source
- Quotes.scala
Copies an Unapply tree representing a pattern ()(using ).
Copies an Unapply tree representing a pattern ()(using ).
Value parameters
- fun
-
the extractor function
- implicits
-
the implicit arguments passed to the extractor
- original
-
the original tree being copied
- patterns
-
the list of nested patterns
Attributes
- Returns
-
a copy of
originalwith the givenfun,implicits, andpatterns - Source
- Quotes.scala
Matches an Unapply(fun, implicits, patterns) tree representing a pattern ()(using ).
Matches an Unapply(fun, implicits, patterns) tree representing a pattern ()(using ).
Value parameters
- x
-
the
Unapplyto match against
Attributes
- Returns
-
a tuple of the extractor function, implicit arguments, and nested patterns
- Source
- Quotes.scala