Class

com.thoughtworks.feature

Untyper

Related Doc: package feature

Permalink

class Untyper[Universe <: Singleton with Universe] extends AnyRef

A utility to convert Type to Tree.

Author:

杨博 (Yang Bo) <[email protected]>

Source
Untyper.scala
Note

The primary intent of Untyper class is for some macro libraries in this feature.scala project, although it may be also useful for other projects.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Untyper
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Untyper(universe: Universe)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to any2stringadd[Untyper[Universe]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Untyper[Universe], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to ArrowAssoc[Untyper[Universe]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def defDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TermSymbol, (Universe.TermName, Seq[Universe.Symbol], Seq[Seq[Universe.Symbol]], Universe.Type)]

    Permalink
  9. def definition(implicit tpe: Universe.Type): PartialFunction[Universe.Symbol, Universe.Tree]

    Permalink
  10. def ensuring(cond: (Untyper[Universe]) ⇒ Boolean, msg: ⇒ Any): Untyper[Universe]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to Ensuring[Untyper[Universe]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Untyper[Universe]) ⇒ Boolean): Untyper[Universe]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to Ensuring[Untyper[Universe]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Untyper[Universe]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to Ensuring[Untyper[Universe]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Untyper[Universe]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to Ensuring[Untyper[Universe]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to StringFormat[Untyper[Universe]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def preprocess(tpe: Universe.Type): Universe.Type

    Permalink
    Attributes
    protected
  25. def singletonValue: PartialFunction[Universe.Type, Universe.Tree]

    Permalink

    Returns the instance tree for given singleton type

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def termDefinition(implicit tpe: Universe.Type): PartialFunction[Universe.Symbol, Universe.Tree]

    Permalink
  28. def termDefinitionOption(symbol: Universe.Symbol)(implicit tpe: Universe.Type): Option[Universe.Tree]

    Permalink
  29. def termSymbol: PartialFunction[Universe.Symbol, Universe.TermSymbol]

    Permalink
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def typeDefinition(implicit tpe: Universe.Type): PartialFunction[Universe.TypeSymbol, Universe.TypeDef]

    Permalink
  32. def typeDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TypeSymbol, (Universe.TypeName, Seq[Universe.Symbol], Universe.Type)]

    Permalink
  33. def typeSymbol: PartialFunction[Universe.Symbol, Universe.TypeSymbol]

    Permalink
  34. val universe: Universe

    Permalink
  35. def untype: PartialFunction[Universe.Type, Universe.Tree]

    Permalink
  36. def untypeOption: (Universe.Type) ⇒ Option[Universe.Tree]

    Permalink
  37. def valDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TermSymbol, (Universe.TermName, Universe.Type)]

    Permalink
  38. def varDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TermSymbol, (Universe.TermName, Universe.Type)]

    Permalink
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def [B](y: B): (Untyper[Universe], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Untyper[Universe] to ArrowAssoc[Untyper[Universe]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Untyper[Universe] to any2stringadd[Untyper[Universe]]

Inherited by implicit conversion StringFormat from Untyper[Universe] to StringFormat[Untyper[Universe]]

Inherited by implicit conversion Ensuring from Untyper[Universe] to Ensuring[Untyper[Universe]]

Inherited by implicit conversion ArrowAssoc from Untyper[Universe] to ArrowAssoc[Untyper[Universe]]

Ungrouped