cps.macros.flags

Members list

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

Attributes

Companion
object
Source
TypeMarkers.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DebugLevel

Attributes

Companion
class
Source
TypeMarkers.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DebugLevel.type
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

Attributes

Companion
object
Source
TypeMarkers.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PrintCode
object PrintCode extends PrintCode

Attributes

Companion
class
Source
TypeMarkers.scala
Supertypes
class PrintCode
class Object
trait Matchable
class Any
Self type
PrintCode.type
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.

Attributes

Companion
object
Source
TypeMarkers.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PrintTree
object PrintTree extends PrintTree

Attributes

Companion
class
Source
TypeMarkers.scala
Supertypes
class PrintTree
class Object
trait Matchable
class Any
Self type
PrintTree.type

if implicit object is defined, than macro delegate cps transformation to compiler plugin.

if implicit object is defined, than macro delegate cps transformation to compiler plugin.

Attributes

Companion
object
Source
TypeMarkers.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
class
Source
TypeMarkers.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class UseLoomAwait

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)

Attributes

Companion
object
Source
TypeMarkers.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object UseLoomAwait
object UseLoomAwait extends UseLoomAwait

Attributes

Companion
class
Source
TypeMarkers.scala
Supertypes
class UseLoomAwait
class Object
trait Matchable
class Any
Self type