Class

derive

Derive

Related Doc: package derive

Permalink

abstract class Derive[M[_]] extends DeriveApi[M]

Linear Supertypes
DeriveApi[M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Derive
  2. DeriveApi
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Derive()

    Permalink

Type Members

  1. case class TypeKey(t: scala.reflect.macros.blackbox.Context.Type) extends Product with Serializable

    Permalink

Abstract Value Members

  1. abstract val c: Context

    Permalink
    Definition Classes
    DeriveApi
  2. abstract def knot(t: scala.reflect.macros.Universe.Tree): scala.reflect.macros.Universe.Tree

    Permalink
    Definition Classes
    DeriveApi
  3. abstract def mergeTrait(subtree: Seq[scala.reflect.macros.Universe.Tree], subtypes: Seq[scala.reflect.macros.Universe.Type], targetType: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.Universe.Tree

    Permalink
    Definition Classes
    DeriveApi
  4. abstract def typeclass: scala.reflect.macros.blackbox.Context.WeakTypeTag[M[_]]

    Permalink
    Definition Classes
    DeriveApi
  5. abstract def wrapCase0(companion: scala.reflect.macros.Universe.Tree, targetType: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.Universe.Tree

    Permalink
    Definition Classes
    DeriveApi
  6. abstract def wrapCase1(companion: scala.reflect.macros.Universe.Tree, arg: String, typeArgs: Seq[scala.reflect.macros.blackbox.Context.Type], argTypes: scala.reflect.macros.Universe.Type, targetType: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.Universe.Tree

    Permalink
    Definition Classes
    DeriveApi
  7. abstract def wrapCaseN(companion: scala.reflect.macros.Universe.Tree, args: Seq[String], typeArgs: Seq[scala.reflect.macros.blackbox.Context.Type], argTypes: Seq[scala.reflect.macros.Universe.Type], targetType: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.Universe.Tree

    Permalink
    Definition Classes
    DeriveApi
  8. abstract def wrapObject(obj: scala.reflect.macros.Universe.Tree): scala.reflect.macros.Universe.Tree

    Permalink
    Definition Classes
    DeriveApi

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def annotate(tpe: scala.reflect.macros.blackbox.Context.Type)(derived: scala.reflect.macros.Universe.Tree): scala.reflect.macros.Universe.Tree

    Permalink

    If there is a sealed base class, annotate the derived tree in the JSON representation with a class label.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def companionTree(tpe: scala.reflect.macros.blackbox.Context.Type): Either[String, scala.reflect.macros.Universe.Tree]

    Permalink

    Special haxx0rs to get us the real companion symbol using the compiler internals, which isn't possible just using the public API

  8. def customKey(sym: scala.reflect.macros.blackbox.Context.Symbol): Option[String]

    Permalink

    Get the custom @key annotation from the parameter Symbol if it exists

  9. def derive[T](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T]): scala.reflect.macros.blackbox.Context.Tree

    Permalink
  10. def deriveClass(tpe: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.Universe.Tree

    Permalink
  11. def deriveObject(tpe: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.Universe.Tree

    Permalink
  12. def deriveTrait(tpe: scala.reflect.macros.blackbox.Context.Type): scala.reflect.macros.Universe.Tree

    Permalink
  13. def deriveType(tpe: scala.reflect.macros.blackbox.Context.Type, first: Boolean): scala.reflect.macros.blackbox.Context.Tree

    Permalink

    derive the typeclass for a particular type

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def fail(tpe: scala.reflect.macros.Universe.Type, s: String): scala.reflect.macros.Universe.Tree

    Permalink
  17. def fallbackDerivation(t: scala.reflect.macros.Universe.Type): Option[scala.reflect.macros.Universe.Tree]

    Permalink
    Definition Classes
    DeriveApi
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def fleshedOutSubtypes(tpe: scala.reflect.macros.Universe.TypeRef): Set[scala.reflect.macros.Universe.Type]

    Permalink

    If a super-type is generic, find all the subtypes, but at the same time fill in all the generic type parameters that are based on the super-type's concrete type

  20. def freshName: scala.reflect.macros.Universe.TermName

    Permalink
  21. def getArgSyms(tpe: scala.reflect.macros.blackbox.Context.Type): Either[String, (scala.reflect.macros.Universe.Tree, List[scala.reflect.macros.Universe.Symbol], List[scala.reflect.macros.Universe.Symbol])]

    Permalink
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def isAccessible(tpe: scala.reflect.macros.Universe.Type): Boolean

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def removeRepeats(t: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Type

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def typeclassFor(t: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Type

    Permalink
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DeriveApi[M]

Inherited from AnyRef

Inherited from Any

Ungrouped