FromFunction

oxygen.meta.FromExprT.FromFunction
final case class FromFunction[A](f: (Type[A], Quotes) => Expr[A] => Option[A]) extends FromExprT[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait FromExprT[A]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

object fromTerm

Attributes

Inherited from:
FromExprT
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def unapply(x: Expr[A])(using tpe: Type[A], quotes: Quotes): Option[A]

Attributes

Definition Classes

Inherited methods

final def orElse(f: (Type[A], Quotes) ?=> Expr[A] => Option[A]): FromExprT[A]

Attributes

Inherited from:
FromExprT
final def orElsePartial(f: (Type[A], Quotes) ?=> PartialFunction[Expr[A], A]): FromExprT[A]

Attributes

Inherited from:
FromExprT
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def ||(that: FromExprT[A]): FromExprT[A]

Attributes

Inherited from:
FromExprT