cps.plugin.annotation

Members list

Type members

Classlikes

case class CpsDebugLevel(level: Int) extends StaticAnnotation

set debug level of CpsPlugin inside of class of method. (0 - No debug, > 15 - trace all)

set debug level of CpsPlugin inside of class of method. (0 - No debug, > 15 - trace all)

Attributes

Source
CpsDebugLevel.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class CpsNotChange() extends StaticAnnotation

mark that the function, whcih accept CpsMonadContext as parameter, but signature does not changed during cps transformation.

mark that the function, whcih accept CpsMonadContext as parameter, but signature does not changed during cps transformation.

(such function live outside of cps-transformed code and can't contain suspend/await/reflect/...) It is usefull for intergnal implementation of context frameworks, FFI and integration with non-cps code.

Attributes

Source
CpsNotChange.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class CpsTransformed[F[_]]() extends StaticAnnotation

Inserted by compiler plugin befor picker, to mark that this method was transformed by cps plugin. Macro and cps plugin check existence of this annotation to prevent situation, when duriong compiling one of modules was mistakenly compiled without cps plugin.

Inserted by compiler plugin befor picker, to mark that this method was transformed by cps plugin. Macro and cps plugin check existence of this annotation to prevent situation, when duriong compiling one of modules was mistakenly compiled without cps plugin.

Attributes

Source
CpsTransformed.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class makeCPS() extends StaticAnnotation

Attributes

Source
makeCPS.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all