Class

com.outworkers.util.samplers

SamplerMacro

Related Doc: package samplers

Permalink

class SamplerMacro extends AnnotationToolkit

Linear Supertypes
AnnotationToolkit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SamplerMacro
  2. AnnotationToolkit
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SamplerMacro(c: Context)

    Permalink

Type Members

  1. case class Accessor extends Product with Serializable

    Permalink
    Definition Classes
    AnnotationToolkit
  2. case class CollectionType(sources: List[scala.reflect.macros.Universe.Type], applier: (List[scala.reflect.macros.Universe.Type]) ⇒ scala.reflect.macros.Universe.TypeName, generator: (List[scala.reflect.macros.Universe.Type]) ⇒ scala.reflect.macros.Universe.Tree) extends TypeExtractor with Product with Serializable

    Permalink
  3. case class ListAccessor extends Product with Serializable

    Permalink
    Definition Classes
    AnnotationToolkit
  4. case class MapAccessor extends Product with Serializable

    Permalink
    Definition Classes
    AnnotationToolkit
  5. case class MapType(sources: List[scala.reflect.macros.Universe.Type], applier: (List[scala.reflect.macros.Universe.Type]) ⇒ scala.reflect.macros.Universe.TypeName, generator: (List[scala.reflect.macros.Universe.Type]) ⇒ scala.reflect.macros.Universe.Tree) extends TypeExtractor with Product with Serializable

    Permalink

    Describes a complex collection type.

    Describes a complex collection type. The source types are the type arguments that will be needed to produce the collection. We have more than one because in the case of a Map for instance we could have multiple ones.

    The applier function is a way to produce a new type of the same collection type given an input type. It's useful because we often want to derive the types of the generators based on the name of the field, to offer the auto-replacement funtionality for collections.

    sources

    The source types that are needed to produce the collection type.

    applier

    The applier function that allows producing a collection type from a list of type arguments.

  6. case class OptionAccessor extends Product with Serializable

    Permalink
    Definition Classes
    AnnotationToolkit
  7. case class OptionType(sources: List[scala.reflect.macros.Universe.Type], applier: (List[scala.reflect.macros.Universe.Type]) ⇒ scala.reflect.macros.Universe.TypeName, generator: (List[scala.reflect.macros.Universe.Type]) ⇒ scala.reflect.macros.Universe.Tree) extends TypeExtractor with Product with Serializable

    Permalink
  8. case class SetAccessor extends Product with Serializable

    Permalink
    Definition Classes
    AnnotationToolkit
  9. trait TypeExtractor extends AnyRef

    Permalink

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. object CollectionType extends Serializable

    Permalink
  5. object KnownField

    Permalink
  6. object MapType extends Serializable

    Permalink
  7. object OptionType extends Serializable

    Permalink
  8. object SamplersSymbols

    Permalink
  9. def accessors(params: Seq[scala.reflect.macros.Universe.ValDef]): Iterable[Accessor]

    Permalink
    Definition Classes
    AnnotationToolkit
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. val c: Context

    Permalink
    Definition Classes
    SamplerMacro → AnnotationToolkit
  12. def caseClassSample(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

    Permalink
  13. def caseFields(tpe: scala.reflect.macros.Universe.Type): Iterable[Accessor]

    Permalink
    Definition Classes
    AnnotationToolkit
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val collectionPkg: scala.reflect.macros.Universe.Select

    Permalink
    Definition Classes
    AnnotationToolkit
  16. val definitions: String

    Permalink
  17. val domainPkg: scala.reflect.macros.Universe.Select

    Permalink
  18. def enumPrimitive(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def extract(exp: scala.reflect.macros.Universe.Tree): Option[scala.reflect.macros.Universe.Type]

    Permalink
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isTuple(tpe: scala.reflect.macros.Universe.Type): Boolean

    Permalink
    Definition Classes
    AnnotationToolkit
  27. def listSample(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

    Permalink
  28. def mapSample(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

    Permalink
  29. def materialize[T](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T]): scala.reflect.macros.Universe.Tree

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val prefix: scala.reflect.macros.Universe.Select

    Permalink
  34. def sampler(nm: String): scala.reflect.macros.Universe.Tree

    Permalink
  35. def setSample(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  38. val treeCache: TrieMap[scala.reflect.macros.Universe.Symbol, scala.reflect.macros.Universe.Tree]

    Permalink

    Adds a caching layer for subsequent requests to materialise the same primitive type.

    Adds a caching layer for subsequent requests to materialise the same primitive type. This adds a simplistic caching layer that computes primitives based on types.

  39. def tupleSample(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

    Permalink
  40. def typed[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.Universe.Symbol

    Permalink
    Definition Classes
    AnnotationToolkit
  41. final def wait(): Unit

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

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

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

Inherited from AnnotationToolkit

Inherited from AnyRef

Inherited from Any

Ungrouped