trait Macro extends AnyRef
- Attributes
- protected
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Macro
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
Abstract Value Members
Concrete 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
- def abort(msg: String): IO[Nothing]
- Attributes
- protected[this]
- def addCaseClassDef(name: String, pars: List[scala.reflect.macros.Universe.ValDef], extending: Option[String] = None): (List[scala.reflect.macros.Universe.Tree]) => (List[scala.reflect.macros.Universe.Tree], Boolean)
Compute a case class definition.
Compute a case class definition.
- Attributes
- protected[this]
- def addEnum(name: String, values: List[String], eq: Boolean, show: Boolean, reuse: Boolean, encoder: Boolean = false, decoder: Boolean = false): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
- Attributes
- protected[this]
- def addModuleDefs(name: String, eq: Boolean, show: Boolean, reuse: Boolean, encoder: Boolean = false, decoder: Boolean = false, typeType: TypeType = TypeType.CaseClass, modStatements: (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree] = identity, nestPath: Option[scala.reflect.macros.Universe.Tree] = None): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
Compute a companion object with typeclasses.
Compute a companion object with typeclasses.
- Attributes
- protected[this]
- def addModuleStatements(moduleName: String, statements: List[scala.reflect.macros.Universe.Tree]): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
- Attributes
- protected[this]
- def addSumTrait(name: String, pars: List[scala.reflect.macros.Universe.ValDef], extending: Option[String] = None): (List[scala.reflect.macros.Universe.Tree]) => (List[scala.reflect.macros.Universe.Tree], Boolean)
- Attributes
- protected[this]
- def addValDef(valName: String, valType: scala.reflect.macros.Universe.Tree, value: scala.reflect.macros.Universe.Tree): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
- Attributes
- protected[this]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildOptionalParams[T](implicit tag: ClassTag[T]): T
- Attributes
- protected[this]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def debugTree(tree: scala.reflect.macros.Universe.Tree): IO[Unit]
Log an actual Tree AST (not the Scala code equivalent).
Log an actual Tree AST (not the Scala code equivalent).
- Attributes
- protected[this]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTermDefined(termName: String): (List[scala.reflect.macros.Universe.Tree]) => Boolean
- Attributes
- protected[this]
- def isTypeDefined(typeName: String): (List[scala.reflect.macros.Universe.Tree]) => Boolean
- Attributes
- protected[this]
- def log(msg: Any): IO[Unit]
Log debug info.
Log debug info.
- Attributes
- protected[this]
- final def macroResolve(annottees: scala.reflect.macros.Universe.Tree*): scala.reflect.macros.Universe.Tree
- Annotations
- @inline()
- def modifyModuleStatements(moduleName: String, mod: (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
- Attributes
- protected[this]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parseType(tpe: String): scala.reflect.macros.Universe.Tree
Parse a type name (c.parse only parses terms).
Parse a type name (c.parse only parses terms).
- Attributes
- protected[this]
- def snakeToCamel(s: String): String
- Attributes
- protected[this]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unqualifiedType(tpe: scala.reflect.macros.Universe.Tree): Option[String]
Extract the unqualified type name from a type.
Extract the unqualified type name from a type.
- Attributes
- protected[this]
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object EnumValue extends Serializable
- Attributes
- protected[this]
- object TypeNamesToTermNames extends scala.reflect.macros.Universe.Transformer
- Attributes
- protected[this]
- object TypeType
- Attributes
- protected[this]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated