object Macro
- Source
- macros.scala
- Alphabetic
- By Inheritance
- Macro
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- macro def constructorsOf[A]: List[String]
get the fields of case class (companion object primary constructor) at compile time
- macro def desugar(a: Any): String
desugar into a String at compile time
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- macro def fieldsOf[A]: List[String]
get the fields of case class (companion object primary constructor) at compile time
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- macro def findSealedOf[A](name: String): Option[A]
get the name of the variable at compile time
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- macro def kson(xs: Any*): String
format as kson using the compile time variable name strings as keys for the map
- macro def ksonColor(xs: Any*): String
format as kson using the compile time variable name strings as keys for the map
- macro def kv[A](xs: A*): List[(String, A)]
format as key->value list using the compile time variable name for the keys and runtime value for the value
- macro def log(xs: Any*): Unit
this is like pp and src combined and can be turned off with near zero execution and compile size overhead
- macro def nameOf(x: Any): String
get the name of the variable at compile time
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parse[A](str: String)(implicit p: MacroParsable[A]): Option[A]
compile time construction of runtime parser's
- def parseLookup[A](getString: (String) => Option[String])(implicit p: StringMapParser[A]): Option[A]
compile time construction (materializing) of a string lookup
- macro def pp(xs: Any*): Unit
pretty print with variable name at compile time and value at runtime using cc.drx.Format for implicit formatting and cc.drx.Color for ansi colors
- macro def sealedOf[A]: Set[A]
get the list of children of a sealed trait
- macro def split[A](str: String): Vector[A]
compile time split method
- macro def src: (String, Int)
get the src code and line number
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()