Object scala.reflect.api.Liftables.Liftable

Companion trait Liftable

object Liftable extends Universe.StandardLiftableInstances

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

Source
Liftables.scala
Linear Supertypes
Universe.StandardLiftableInstances, 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](f: (T) => Universe.Tree): Universe.Liftable[T]

A helper method that simplifies creation of Liftable instances. Takes a type and a function that maps that type to a tree representation.

For example to write Liftable for object one might use it like:

scala> object O

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

scala> implicit val liftO = Liftable[O.type] { _ => q"$Oref" }

scala> val lifted = q"$O"
lifted: universe.Tree = O
See also

http://docs.scala-lang.org/overviews/quasiquotes/lifting.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

implicit def liftArray[T](implicit arg0: Universe.Liftable[T]): Universe.Liftable[Array[T]]

Definition Classes
StandardLiftableInstances

implicit def liftBoolean[T <: Boolean]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftByte[T <: Byte]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftChar[T <: Char]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftConstant[T <: Universe.Constant]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftDouble[T <: Double]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftEither[L, R](implicit arg0: Universe.Liftable[L], arg1: Universe.Liftable[R]): Universe.Liftable[Either[L, R]]

Definition Classes
StandardLiftableInstances

implicit def liftExpr[T <: Universe.Expr[_]]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftFloat[T <: Float]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftInt[T <: Int]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftLeft[L, R](implicit arg0: Universe.Liftable[L]): Universe.Liftable[Left[L, R]]

Definition Classes
StandardLiftableInstances

implicit def liftList[T](implicit arg0: Universe.Liftable[T]): Universe.Liftable[List[T]]

Definition Classes
StandardLiftableInstances

implicit def liftLong[T <: Long]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftMap[K, V](implicit arg0: Universe.Liftable[K], arg1: Universe.Liftable[V]): Universe.Liftable[Map[K, V]]

Definition Classes
StandardLiftableInstances

implicit def liftName[T <: Universe.Name]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftNil: Universe.Liftable[collection.immutable.Nil.type]

Definition Classes
StandardLiftableInstances

implicit def liftNone: Universe.Liftable[None.type]

Definition Classes
StandardLiftableInstances

implicit def liftOption[T](implicit arg0: Universe.Liftable[T]): Universe.Liftable[Option[T]]

Definition Classes
StandardLiftableInstances

implicit def liftRight[L, R](implicit arg0: Universe.Liftable[R]): Universe.Liftable[Right[L, R]]

Definition Classes
StandardLiftableInstances

implicit def liftScalaSymbol: Universe.Liftable[Symbol]

Definition Classes
StandardLiftableInstances

implicit def liftSet[T](implicit arg0: Universe.Liftable[T]): Universe.Liftable[Set[T]]

Definition Classes
StandardLiftableInstances

implicit def liftShort[T <: Short]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftSome[T](implicit arg0: Universe.Liftable[T]): Universe.Liftable[Some[T]]

Definition Classes
StandardLiftableInstances

implicit def liftString[T <: String]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftTree[T <: Universe.Tree]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftTuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15], liftT16: Universe.Liftable[T16]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15], liftT16: Universe.Liftable[T16], liftT17: Universe.Liftable[T17]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15], liftT16: Universe.Liftable[T16], liftT17: Universe.Liftable[T17], liftT18: Universe.Liftable[T18]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15], liftT16: Universe.Liftable[T16], liftT17: Universe.Liftable[T17], liftT18: Universe.Liftable[T18], liftT19: Universe.Liftable[T19]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple2[T1, T2](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2]): Universe.Liftable[(T1, T2)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15], liftT16: Universe.Liftable[T16], liftT17: Universe.Liftable[T17], liftT18: Universe.Liftable[T18], liftT19: Universe.Liftable[T19], liftT20: Universe.Liftable[T20]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15], liftT16: Universe.Liftable[T16], liftT17: Universe.Liftable[T17], liftT18: Universe.Liftable[T18], liftT19: Universe.Liftable[T19], liftT20: Universe.Liftable[T20], liftT21: Universe.Liftable[T21]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9], liftT10: Universe.Liftable[T10], liftT11: Universe.Liftable[T11], liftT12: Universe.Liftable[T12], liftT13: Universe.Liftable[T13], liftT14: Universe.Liftable[T14], liftT15: Universe.Liftable[T15], liftT16: Universe.Liftable[T16], liftT17: Universe.Liftable[T17], liftT18: Universe.Liftable[T18], liftT19: Universe.Liftable[T19], liftT20: Universe.Liftable[T20], liftT21: Universe.Liftable[T21], liftT22: Universe.Liftable[T22]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple3[T1, T2, T3](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3]): Universe.Liftable[(T1, T2, T3)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple4[T1, T2, T3, T4](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4]): Universe.Liftable[(T1, T2, T3, T4)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple5[T1, T2, T3, T4, T5](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5]): Universe.Liftable[(T1, T2, T3, T4, T5)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple6[T1, T2, T3, T4, T5, T6](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6]): Universe.Liftable[(T1, T2, T3, T4, T5, T6)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple7[T1, T2, T3, T4, T5, T6, T7](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple8[T1, T2, T3, T4, T5, T6, T7, T8](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8)]

Definition Classes
StandardLiftableInstances

implicit def liftTuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit liftT1: Universe.Liftable[T1], liftT2: Universe.Liftable[T2], liftT3: Universe.Liftable[T3], liftT4: Universe.Liftable[T4], liftT5: Universe.Liftable[T5], liftT6: Universe.Liftable[T6], liftT7: Universe.Liftable[T7], liftT8: Universe.Liftable[T8], liftT9: Universe.Liftable[T9]): Universe.Liftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]

Definition Classes
StandardLiftableInstances

implicit def liftType[T <: Universe.Type]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftTypeTag[T <: Universe.WeakTypeTag[_]]: Universe.Liftable[T]

Definition Classes
StandardLiftableInstances

implicit def liftUnit: Universe.Liftable[Unit]

Definition Classes
StandardLiftableInstances

implicit def liftVector[T](implicit arg0: Universe.Liftable[T]): Universe.Liftable[Vector[T]]

Definition Classes
StandardLiftableInstances

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

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$Liftable$.html