W3cubDocs

/Scala 2.13 Reflection

Object scala.reflect.api.Liftables.Unliftable

Companion trait Unliftable

object Unliftable extends Universe.StandardUnliftableInstances

Companion to Unliftable type class that contains standard instances and provides a helper apply method to simplify creation of new ones.

Source
Liftables.scala
Linear Supertypes
Universe.StandardUnliftableInstances, AnyRef, Any

Value Members

final def !=(arg0: Any): Boolean

Definition Classes
AnyRef → Any

final def ##(): Int

Definition Classes
AnyRef → Any

final def ==(arg0: Any): Boolean

Definition Classes
AnyRef → Any

def apply[T](pf: PartialFunction[Universe.Tree, T]): Universe.Unliftable[T]

A helper method that simplifies creation of Unliftable instances. Takes a partial function which is defined on correct representations of T and returns corresponding instances.

For example to extract a reference to an object as object itself:

scala> object O

scala> val Oref = symbolOf[O.type].asClass.module

scala> implicit val unliftO = Unliftable[O.type] { case t if t.symbol == Oref => O }

scala> val q"${_: O.type}" = q"$Oref"
See also

http://docs.scala-lang.org/overviews/quasiquotes/unlifting.html

final def asInstanceOf[T0]: T0

Definition Classes
Any

def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.CloneNotSupportedException]) @native()

final def eq(arg0: AnyRef): Boolean

Definition Classes
AnyRef

def equals(arg0: AnyRef): Boolean

Definition Classes
AnyRef → Any

def finalize(): Unit

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.Throwable])

final def getClass(): Class[_ <: AnyRef]

Definition Classes
AnyRef → Any
Annotations
@native()

def hashCode(): Int

Definition Classes
AnyRef → Any
Annotations
@native()

final def isInstanceOf[T0]: Boolean

Definition Classes
Any

final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef

final def notify(): Unit

Definition Classes
AnyRef
Annotations
@native()

final def notifyAll(): Unit

Definition Classes
AnyRef
Annotations
@native()

final def synchronized[T0](arg0: => T0): T0

Definition Classes
AnyRef

def toString(): String

Definition Classes
AnyRef → Any

implicit def unliftBoolean: Universe.Unliftable[Boolean]

Definition Classes
StandardUnliftableInstances

implicit def unliftByte: Universe.Unliftable[Byte]

Definition Classes
StandardUnliftableInstances

implicit def unliftChar: Universe.Unliftable[Char]

Definition Classes
StandardUnliftableInstances

implicit def unliftConstant: Universe.Unliftable[Universe.Constant]

Definition Classes
StandardUnliftableInstances

implicit def unliftDouble: Universe.Unliftable[Double]

Definition Classes
StandardUnliftableInstances

implicit def unliftFloat: Universe.Unliftable[Float]

Definition Classes
StandardUnliftableInstances

implicit def unliftInt: Universe.Unliftable[Int]

Definition Classes
StandardUnliftableInstances

implicit def unliftLong: Universe.Unliftable[Long]

Definition Classes
StandardUnliftableInstances

implicit def unliftName[T <: Universe.Name](implicit arg0: ClassTag[T]): Universe.Unliftable[T]

Definition Classes
StandardUnliftableInstances

implicit def unliftScalaSymbol: Universe.Unliftable[Symbol]

Definition Classes
StandardUnliftableInstances

implicit def unliftShort: Universe.Unliftable[Short]

Definition Classes
StandardUnliftableInstances

implicit def unliftString: Universe.Unliftable[String]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple2[T1, T2](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2]): Universe.Unliftable[(T1, T2)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19], UnliftT20: Universe.Unliftable[T20]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19], UnliftT20: Universe.Unliftable[T20], UnliftT21: Universe.Unliftable[T21]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19], UnliftT20: Universe.Unliftable[T20], UnliftT21: Universe.Unliftable[T21], UnliftT22: Universe.Unliftable[T22]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple3[T1, T2, T3](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3]): Universe.Unliftable[(T1, T2, T3)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple4[T1, T2, T3, T4](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4]): Universe.Unliftable[(T1, T2, T3, T4)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple5[T1, T2, T3, T4, T5](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5]): Universe.Unliftable[(T1, T2, T3, T4, T5)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple6[T1, T2, T3, T4, T5, T6](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple7[T1, T2, T3, T4, T5, T6, T7](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple8[T1, T2, T3, T4, T5, T6, T7, T8](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8)]

Definition Classes
StandardUnliftableInstances

implicit def unliftTuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]

Definition Classes
StandardUnliftableInstances

implicit def unliftType: Universe.Unliftable[Universe.Type]

Definition Classes
StandardUnliftableInstances

implicit def unliftUnit: Universe.Unliftable[Unit]

Definition Classes
StandardUnliftableInstances

final def wait(): Unit

Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.InterruptedException])

final def wait(arg0: Long, arg1: Int): Unit

Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.InterruptedException])

final def wait(arg0: Long): Unit

Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.InterruptedException]) @native()

© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/api/Liftables$Unliftable$.html