cps.macros.flags

Members list

Concise view

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.

Attributes

value
  • debug level, from 0 to 20. 0 - no debug outout, 20 - maximum
Companion:
object
Source:
TypeMarkers.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object DebugLevel

Attributes

Companion:
class
Source:
TypeMarkers.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self 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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PrintCode.type
object PrintCode extends PrintCode

Attributes

Companion:
class
Source:
TypeMarkers.scala
Graph
Supertypes
class PrintCode
class Object
trait Matchable
class Any
Self 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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PrintTree.type
object PrintTree extends PrintTree

Attributes

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

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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object UseLoomAwait.type
object UseLoomAwait extends UseLoomAwait

Attributes

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