object Utils
Helper functions for the other macros in this package.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Utils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type Id[T] = T
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
doubleInject(c: Context)(src: scala.reflect.macros.blackbox.Context.Tree, newOwner: scala.reflect.macros.blackbox.Context.TermName, owner: scala.reflect.macros.blackbox.Context.Tree, newData: scala.reflect.macros.blackbox.Context.TermName, data: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Tree
Injects both the Owner and Data contexts into the given snippet
- def enclosingCtx(c: Context)(ctx: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Tree
- def ensureStaticEnclosingOwners(c: Context)(chk: scala.reflect.macros.blackbox.Context.Symbol, abortOnFail: Boolean): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
injectRxCtx[T](c: Context)(src: scala.reflect.macros.blackbox.Context.Tree, newCtx: scala.reflect.macros.Universe.TermName, curCtxTree: scala.reflect.macros.blackbox.Context.Tree, compileTime: scala.reflect.macros.blackbox.Context.Type, unsafe: Option[scala.reflect.macros.blackbox.Context.Type]): scala.reflect.macros.blackbox.Context.Tree
Walks a tree and injects in an implicit
Ctx.Owner
over anyCtx.Owner
that was previously inferred.Walks a tree and injects in an implicit
Ctx.Owner
over anyCtx.Owner
that was previously inferred. This is done because by the time the macro runs, implicits have already been resolved, so we cannot rely on implicit resolution to do this for us -
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 resetExpr[T](c: Context)(t: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Expr[T]
-
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
- @throws( ... ) @native()