trait Macro extends AnyRef

Attributes
protected
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Macro
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class EnumValue(asString: String, className: String) extends Product with Serializable
    Attributes
    protected[this]
  2. sealed trait TypeType extends AnyRef
    Attributes
    protected[this]

Abstract Value Members

  1. abstract val c: Context
  2. abstract def expand(annottees: scala.reflect.macros.Universe.Tree*): IO[scala.reflect.macros.Universe.Tree]
    Attributes
    protected[this]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def abort(msg: String): IO[Nothing]
    Attributes
    protected[this]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. 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]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def buildOptionalParams[T](implicit tag: ClassTag[T]): T
    Attributes
    protected[this]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. 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]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isTermDefined(termName: String): (List[scala.reflect.macros.Universe.Tree]) => Boolean
    Attributes
    protected[this]
  21. def isTypeDefined(typeName: String): (List[scala.reflect.macros.Universe.Tree]) => Boolean
    Attributes
    protected[this]
  22. def log(msg: Any): IO[Unit]

    Log debug info.

    Log debug info.

    Attributes
    protected[this]
  23. final def macroResolve(annottees: scala.reflect.macros.Universe.Tree*): scala.reflect.macros.Universe.Tree
    Annotations
    @inline()
  24. 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]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. 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]
  29. def snakeToCamel(s: String): String
    Attributes
    protected[this]
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. 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]
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. object EnumValue extends Serializable
    Attributes
    protected[this]
  37. object TypeNamesToTermNames extends scala.reflect.macros.Universe.Transformer
    Attributes
    protected[this]
  38. object TypeType
    Attributes
    protected[this]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped