cps.macros.flags

Type members

Classlikes

case class DebugLevel(value: Int)

Use this flag for debugging of async transformation process.

Use this flag for debugging of async transformation process.

   implicit val = cps.macros.flags.DebugLevel(10)
   async{
      ....
   }

will output ton of traces during macro translation.

Value parameters:
value
  • debug level, from 0 to 20. 0 - no debug outout, 20 - maximum
Companion:
object
object DebugLevel
Companion:
class
class PrintCode

if implicit object of type PrintCode.type is defined, than macro print code befroe and after expansion

if implicit object of type PrintCode.type is defined, than macro print code befroe and after expansion

Companion:
object
object PrintCode extends PrintCode
Companion:
class
class PrintTree

if implicit of type PrintTree.type is defined, them macro print ast tree before and after macro transformation.

if implicit of type PrintTree.type is defined, them macro print ast tree before and after macro transformation.

Companion:
object
object PrintTree extends PrintTree
Companion:
class

if implicit object is defined, than macro use runtime await for CpsRuntimeAwait (work only on JVM with JDK-19 early access, which inclipe project loom support)

if implicit object is defined, than macro use runtime await for CpsRuntimeAwait (work only on JVM with JDK-19 early access, which inclipe project loom support)

Companion:
object
object UseLoomAwait extends UseLoomAwait
Companion:
class