Class

com.outworkers.util.samplers

SamplerMacro

Related Doc: package samplers

Permalink

class SamplerMacro extends AnnotationToolkit with BlackboxToolbelt

Linear Supertypes
BlackboxToolbelt, AnnotationToolkit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SamplerMacro
  2. BlackboxToolbelt
  3. AnnotationToolkit
  4. AnyRef
  5. 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 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.

  4. 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
  5. 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 abort(msg: String): Nothing

    Permalink
    Definition Classes
    BlackboxToolbelt
  10. def accessors(params: Seq[scala.reflect.macros.Universe.ValDef]): Iterable[Accessor]

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

    Permalink
    Definition Classes
    Any
  12. val c: Context

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

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

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

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

    Permalink
    Definition Classes
    AnnotationToolkit
  17. val definitions: String

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

    Permalink
  19. def echo(msg: String): Unit

    Permalink
    Definition Classes
    BlackboxToolbelt
  20. def enumSample(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def error(msg: String): Unit

    Permalink
    Definition Classes
    BlackboxToolbelt
  24. def extract(exp: scala.reflect.macros.Universe.Tree): Option[scala.reflect.macros.Universe.Type]

    Permalink
  25. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def info(msg: String, force: Boolean): Unit

    Permalink
    Definition Classes
    BlackboxToolbelt
  29. def isCaseClass(sym: scala.reflect.macros.Universe.Symbol): Boolean

    Permalink
    Definition Classes
    AnnotationToolkit
  30. def isCaseClass(tpe: scala.reflect.macros.Universe.Type): Boolean

    Permalink
    Definition Classes
    AnnotationToolkit
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def isTuple(sym: scala.reflect.macros.Universe.Symbol): Boolean

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

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

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

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

    Permalink
  37. def memoize[A, B](cache: Cache)(a: A, f: (A) ⇒ B): B

    Permalink
    Definition Classes
    BlackboxToolbelt
  38. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
  42. def printType(tpe: scala.reflect.macros.Universe.Type): String

    Permalink
    Definition Classes
    AnnotationToolkit
  43. def sampler(nm: String): scala.reflect.macros.Universe.Tree

    Permalink
  44. lazy val showAborts: Boolean

    Permalink
    Definition Classes
    BlackboxToolbelt
  45. lazy val showCache: Boolean

    Permalink
    Definition Classes
    BlackboxToolbelt
  46. lazy val showLogs: Boolean

    Permalink
    Definition Classes
    BlackboxToolbelt
  47. lazy val showTrees: Boolean

    Permalink
    Definition Classes
    BlackboxToolbelt
  48. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  50. def traversableSample(tpe: scala.reflect.macros.Universe.Type): scala.reflect.macros.Universe.Tree

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

    Permalink
  52. def tupleTerm(i: Int): scala.reflect.macros.Universe.TermName

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def warning(msg: String): Unit

    Permalink
    Definition Classes
    BlackboxToolbelt

Inherited from BlackboxToolbelt

Inherited from AnnotationToolkit

Inherited from AnyRef

Inherited from Any

Ungrouped