Unapply

oxygen.meta.Meta.Tree.Unapply
See theUnapply companion object
final case class Unapply(raw: quotes.reflect.Unapply) extends Tree

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Tree
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def fun: Term

The extractor function of the pattern.

The extractor function of the pattern.

It may be a reference to the unapply method of the pattern or may be a partially applied tree containing type parameters and leading given parameters.

Attributes

def implicits: List[Term]

Training implicit parameters of the unapply method

Training implicit parameters of the unapply method

Attributes

def patterns: List[Tree]

List of nested patterns

List of nested patterns

Attributes

Inherited methods

def asExpr: Expr[Any]

Convert this tree to an quoted.Expr[Any] if the tree is a valid expression or throws

Convert this tree to an quoted.Expr[Any] if the tree is a valid expression or throws

Attributes

Inherited from:
Tree
def asExprOf[A : Type]: Expr[A]

Attributes

Inherited from:
Tree
def asExprTyped[A]: Expr[A]

Attributes

Inherited from:
Tree
def isExpr: Boolean

Does this tree represent a valid expression?

Does this tree represent a valid expression?

Attributes

Inherited from:
Tree
def pos: Position

Position in the source code

Position in the source code

Attributes

Inherited from:
Tree
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def show(using quotes.reflect.Printer[quotes.reflect.Tree]): String

Shows the tree as String

Shows the tree as String

Attributes

Inherited from:
Tree
def symbol: Symbol

Symbol of defined or referred by this tree

Symbol of defined or referred by this tree

Attributes

Inherited from:
Tree