trait Ops extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Ops
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract val c: Context
-
abstract
def
completeProm[A](prom: reflect.macros.Universe.Expr[Prom[A]], value: reflect.macros.Universe.Expr[Tryy[A]]): reflect.macros.Universe.Expr[Unit]
Complete a promise with a value
-
abstract
def
createProm[A](implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Prom[A]]
Create an empty promise
- abstract def execContextType: reflect.macros.Universe.Type
-
abstract
def
future[A](a: reflect.macros.Universe.Expr[A])(execContext: reflect.macros.Universe.Expr[ExecContext])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Fut[A]]
Construct a future to asynchronously compute the given expression
-
abstract
def
onComplete[A, U](future: reflect.macros.Universe.Expr[Fut[A]], fun: reflect.macros.Universe.Expr[(Tryy[A]) ⇒ U], execContext: reflect.macros.Universe.Expr[ExecContext]): reflect.macros.Universe.Expr[Unit]
Register an call back to run on completion of the given future
- abstract def promType[A](implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Type
-
abstract
def
promiseToFuture[A](prom: reflect.macros.Universe.Expr[Prom[A]])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Fut[A]]
Extract a future from the given promise.
- abstract def tryType[A](implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Type
- abstract def tryyFailure[A](a: reflect.macros.Universe.Expr[Throwable])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Tryy[A]]
- abstract def tryyGet[A](tryy: reflect.macros.Universe.Expr[Tryy[A]]): reflect.macros.Universe.Expr[A]
- abstract def tryyIsFailure[A](tryy: reflect.macros.Universe.Expr[Tryy[A]]): reflect.macros.Universe.Expr[Boolean]
- abstract def tryySuccess[A](a: reflect.macros.Universe.Expr[A])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Tryy[A]]
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def completeWithSuccess[A](prom: reflect.macros.Universe.Expr[Prom[A]], value: reflect.macros.Universe.Expr[A])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Unit]
- def continueCompletedFutureOnSameThread: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getCompleted[A](future: reflect.macros.Universe.Expr[Fut[A]])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Tryy[A]]
Return
null
if this future is not yet completed, orTryy[A]
with the completed result otherwise -
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
def
postAnfTransform(tree: reflect.macros.Universe.Block): reflect.macros.Universe.Block
A hook for custom macros to transform the tree post-ANF transform
- def spawn(tree: reflect.macros.Universe.Tree, execContext: reflect.macros.Universe.Tree): reflect.macros.Universe.Tree
- def stateMachineClassParents: List[reflect.macros.Universe.Type]
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )