UnapplyModule
scala.quoted.Quotes.reflectModule.UnapplyModule
trait UnapplyModule
Methods of the module object val Unapply
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Value members
Abstract methods
def apply(fun: Quotes.this.reflectModule.this.Term, implicits: List[Quotes.this.reflectModule.this.Term], patterns: List[Quotes.this.reflectModule.this.Tree]): Quotes.this.reflectModule.this.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: Quotes.this.reflectModule.this.Tree)(fun: Quotes.this.reflectModule.this.Term, implicits: List[Quotes.this.reflectModule.this.Term], patterns: List[Quotes.this.reflectModule.this.Tree]): Quotes.this.reflectModule.this.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: Quotes.this.reflectModule.this.Unapply): (Quotes.this.reflectModule.this.Term, List[Quotes.this.reflectModule.this.Term], List[Quotes.this.reflectModule.this.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
In this article