class MacroImp extends AnyRef
- Source
- macros.scala
- Alphabetic
- By Inheritance
- MacroImp
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (MacroImp, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applyIf(t: Boolean, f: (MacroImp) => MacroImp): MacroImp
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (MacroImp) => Boolean)(f: (MacroImp) => MacroImp): MacroImp
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val c: Context
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def constructorsOf[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[List[String]]
- def desugar(a: scala.reflect.macros.blackbox.Context.Expr[Any]): scala.reflect.macros.blackbox.Context.Expr[String]
- def elementOf(xs: Set[MacroImp]): Boolean
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (MacroImp) => Boolean, msg: => Any): MacroImp
- def ensuring(cond: (MacroImp) => Boolean): MacroImp
- def ensuring(cond: Boolean, msg: => Any): MacroImp
- def ensuring(cond: Boolean): MacroImp
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fieldsOf[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[List[String]]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findSealedOf[A](name: scala.reflect.macros.blackbox.Context.Expr[String])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[Option[A]]
- def formatted(fmtstr: String): String
- 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
- def kson(xs: scala.reflect.macros.blackbox.Context.Expr[Any]*): scala.reflect.macros.blackbox.Context.Expr[String]
- def ksonColor(xs: scala.reflect.macros.blackbox.Context.Expr[Any]*): scala.reflect.macros.blackbox.Context.Expr[String]
- def kv[A](xs: scala.reflect.macros.blackbox.Context.Expr[A]*): scala.reflect.macros.blackbox.Context.Expr[List[(String, A)]]
- def log(xs: scala.reflect.macros.blackbox.Context.Expr[Any]*): scala.reflect.macros.blackbox.Context.Expr[Unit]
this is like pp and src combined
- def makeParsable[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[MacroParsable[A]]
- def makeStringMapParser[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[StringMapParser[A]]
- def nameOf(x: scala.reflect.macros.blackbox.Context.Expr[Any]): scala.reflect.macros.blackbox.Context.Expr[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (MacroImp) => Boolean): Option[MacroImp]
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (MacroImp) => Boolean): Option[MacroImp]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def pp(xs: scala.reflect.macros.blackbox.Context.Expr[Any]*): scala.reflect.macros.blackbox.Context.Expr[Unit]
- def preApply[B](f: (MacroImp) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sealedOf[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[Set[A]]
- def sideEffect(f: (MacroImp) => Unit): MacroImp
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (MacroImp) => Boolean): Option[MacroImp]
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def split[A](str: scala.reflect.macros.blackbox.Context.Expr[String])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[Vector[A]]
compile time version of String split and TODO make it a Parasable for runtime parsing
- def src: scala.reflect.macros.blackbox.Context.Expr[(String, Int)]
get the file and line number of the src code src: https://stackoverflow.com/a/23261504/622016 relativize: from https://stackoverflow.com/a/23261504/622016 cwd: from https://stackoverflow.com/a/22350931/622016
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: MacroImp
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- 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()
Deprecated Value Members
- def ?>(f: (MacroImp) => Boolean): Option[MacroImp]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (MacroImp) => B): B
- Implicit
- This member is added by an implicit conversion from MacroImp toDrxAny[MacroImp] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (MacroImp, B)
- Implicit
- This member is added by an implicit conversion from MacroImp toArrowAssoc[MacroImp] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.