object MacroUtil
- Alphabetic
- By Inheritance
- MacroUtil
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 val SHORT_LEN: Int(80)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cleanUntypecheck(c: Context)(tree: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Tree
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
- def hasAwait(c: Context)(x: scala.reflect.macros.blackbox.Context.Tree): Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isScala2_11: Boolean
- val isScala2_12_0: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
removeAsyncStateMachineResultDefDef(c: Context)(tree: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Tree
bug in async/scala-2.12.x async/types generate in state-machine next chunk of code:
val result: scala.concurrent.Promise[Int] = Promise.apply[Int](); <stable> <accessor> def result: scala.concurrent.Promise[Int] = stateMachine$macro$1041.this.result; val execContext: scala.concurrent.ExecutionContext = .. <stable> <accessor> def execContext: scala.concurrent.Promise[Int] = stateMachine$macro$1041.this.execContext;
when we attempt untype/type code again, it is not compiled. So, we need to remove result and execContext DefDefs
-
def
shortString(c: Context)(x: scala.reflect.macros.blackbox.Context.Tree): String
short representation of tree, suitable for show in error messages.
- def skipAnnotation(c: Context)(x: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Tree
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unwrapOriginUnannotatedType(c: Context)(tp: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Tree
-
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( ... )