class Macros extends HygieneUtilMacros with InlineMacros
Macros implementations for the Atomic type
- Annotations
- @bundle()
- Source
- Atomic.scala
- Alphabetic
- By Inheritance
- Macros
- InlineMacros
- HygieneUtilMacros
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- def addMacro[A](value: scala.reflect.macros.whitebox.Context.Expr[A])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[Unit]
- def applyMacro[A]()(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[A]
- def buildAnyMacro[A, R <: Atomic[A]](initialValue: scala.reflect.macros.whitebox.Context.Expr[A])(builder: scala.reflect.macros.whitebox.Context.Expr[AtomicBuilder[A, R]])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A], arg1: scala.reflect.macros.whitebox.Context.WeakTypeTag[R]): scala.reflect.macros.whitebox.Context.Expr[R]
- def buildAnyWithPaddingMacro[A, R <: Atomic[A]](initialValue: scala.reflect.macros.whitebox.Context.Expr[A], padding: scala.reflect.macros.whitebox.Context.Expr[PaddingStrategy])(builder: scala.reflect.macros.whitebox.Context.Expr[AtomicBuilder[A, R]])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A], arg1: scala.reflect.macros.whitebox.Context.WeakTypeTag[R]): scala.reflect.macros.whitebox.Context.Expr[R]
-
val
c: Context
- Definition Classes
- Macros → InlineMacros → HygieneUtilMacros
- def getAndTransformMacro[A](cb: scala.reflect.macros.whitebox.Context.Expr[(A) ⇒ A])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[A]
-
def
inlineAndReset[A](tree: scala.reflect.macros.Universe.Tree): scala.reflect.macros.whitebox.Context.Expr[A]
- Definition Classes
- InlineMacros
-
def
inlineAndResetTree(tree: scala.reflect.macros.Universe.Tree): scala.reflect.macros.Universe.Tree
- Definition Classes
- InlineMacros
-
def
inlineApplyRecursive(tree: scala.reflect.macros.Universe.Tree): scala.reflect.macros.Universe.Tree
- Definition Classes
- InlineMacros
-
def
resetTree(tree: scala.reflect.macros.Universe.Tree): scala.reflect.macros.Universe.Tree
- Definition Classes
- InlineMacros
- def setMacro[A](value: scala.reflect.macros.whitebox.Context.Expr[A])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[Unit]
-
def
stripUnApplyNodes(): scala.reflect.macros.Universe.Transformer
Creates a macro transformer than gets rid of implicit unapply in case statements.
Creates a macro transformer than gets rid of implicit unapply in case statements.
Workaround for: https://issues.scala-lang.org/browse/SI-5465
- Definition Classes
- InlineMacros
- def subtractMacro[A](value: scala.reflect.macros.whitebox.Context.Expr[A])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[Unit]
- def transformAndExtractMacro[S, A](cb: scala.reflect.macros.whitebox.Context.Expr[(S) ⇒ (A, S)])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[S], arg1: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[A]
- def transformAndGetMacro[A](cb: scala.reflect.macros.whitebox.Context.Expr[(A) ⇒ A])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[A]
- def transformMacro[A](cb: scala.reflect.macros.whitebox.Context.Expr[(A) ⇒ A])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[Unit]
-
object
util
- Definition Classes
- HygieneUtilMacros
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.types implements type-class shims, to be translated to type-classes provided by libraries such as Cats or Scalaz.
monix.cats is the optional integration with the Cats library, providing translations for the types described in
monix.types
.monix.scalaz is the optional integration with the Scalaz library, providing translations for the types described in
monix.types
.