Object

org.emmalanguage.ast.Types.TypeAPI

Type

Related Doc: package TypeAPI

Permalink

object Type extends AST.Node

Linear Supertypes
AST.Node, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Type
  2. Node
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Java

    Permalink
  5. lazy val any: scala.reflect.api.Universe.Type

    Permalink
  6. lazy val anyRef: scala.reflect.api.Universe.Type

    Permalink
  7. lazy val anyVal: scala.reflect.api.Universe.Type

    Permalink
  8. def apply[T](implicit arg0: scala.reflect.api.Universe.TypeTag[T]): scala.reflect.api.Universe.Type

    Permalink

    Reifies a type from a tag.

  9. def apply(constructor: scala.reflect.api.Universe.Type, args: Seq[scala.reflect.api.Universe.Type]): scala.reflect.api.Universe.Type

    Permalink

    Applies a type constructor to the supplied arguments.

  10. def arg(i: Int, tpe: scala.reflect.api.Universe.Type): scala.reflect.api.Universe.Type

    Permalink

    Extracts the i-th (1-based) type argument of the applied type tpe.

  11. lazy val array: scala.reflect.api.Universe.Type

    Permalink
  12. def arrayOf(elements: scala.reflect.api.Universe.Type): scala.reflect.api.Universe.Type

    Permalink

    Creates a new array type.

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. lazy val bigDec: scala.reflect.api.Universe.Type

    Permalink
  15. lazy val bigInt: scala.reflect.api.Universe.Type

    Permalink
  16. lazy val bool: scala.reflect.api.Universe.Type

    Permalink
  17. lazy val byte: scala.reflect.api.Universe.Type

    Permalink
  18. def caseClassParamsOf(tpe: scala.reflect.api.Universe.Type): ListMap[scala.reflect.api.Universe.MethodSymbol, scala.reflect.api.Universe.Type]

    Permalink

    Returns a map from formal getter methods to types, containing one mapping for each argument in the primary constructor.

    Returns a map from formal getter methods to types, containing one mapping for each argument in the primary constructor. The resulting map (a ListMap) preserves the order of the constructor's parameter list.

  19. lazy val char: scala.reflect.api.Universe.Type

    Permalink
  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def constructor(tpe: scala.reflect.api.Universe.Type): scala.reflect.api.Universe.Type

    Permalink

    Returns the type constructor of an applied type tpe.

  22. lazy val double: scala.reflect.api.Universe.Type

    Permalink
  23. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. lazy val float: scala.reflect.api.Universe.Type

    Permalink
  27. def fun(params: Seq[scala.reflect.api.Universe.Type] = Seq.empty, result: scala.reflect.api.Universe.Type = Type.unit): scala.reflect.api.Universe.Type

    Permalink

    Creates a new function (lambda) type.

  28. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. lazy val int: scala.reflect.api.Universe.Type

    Permalink
  31. def isCaseClass(tpe: scala.reflect.api.Universe.Type): Boolean

    Permalink

    Ensures that a type represents a case class.

  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. def kind0[T](implicit arg0: scala.reflect.api.Universe.TypeTag[T]): scala.reflect.api.Universe.Type

    Permalink

    Reifies a type of kind *.

  34. def kind1[F[_]](arg: scala.reflect.api.Universe.Type)(implicit tag: scala.reflect.api.Universe.TypeTag[F[Nothing]]): scala.reflect.api.Universe.Type

    Permalink

    Reifies a type of kind * -> *.

  35. def kind2[F[_, _]](arg1: scala.reflect.api.Universe.Type, arg2: scala.reflect.api.Universe.Type)(implicit tag: scala.reflect.api.Universe.TypeTag[F[Nothing, Nothing]]): scala.reflect.api.Universe.Type

    Permalink

    Reifies a type of kind * -> * -> *.

  36. def kind3[F[_, _, _]](arg1: scala.reflect.api.Universe.Type, arg2: scala.reflect.api.Universe.Type, arg3: scala.reflect.api.Universe.Type)(implicit tag: scala.reflect.api.Universe.TypeTag[F[Nothing, Nothing, Nothing]]): scala.reflect.api.Universe.Type

    Permalink

    Reifies a type of kind * -> * -> * -> *.

  37. lazy val long: scala.reflect.api.Universe.Type

    Permalink
  38. lazy val loop: scala.reflect.api.Universe.Type

    Permalink
  39. def lub(types: Seq[scala.reflect.api.Universe.Type]): scala.reflect.api.Universe.Type

    Permalink

    Returns the least upper bound of all types.

  40. def method(tps: Seq[scala.reflect.api.Universe.TypeSymbol] = Seq.empty, pss: Seq[Seq[scala.reflect.api.Universe.TermSymbol]] = Seq.empty, res: scala.reflect.api.Universe.Type = Type.unit): scala.reflect.api.Universe.Type

    Permalink

    Returns a new method type (possibly generic and with multiple arg lists).

  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. lazy val none: scala.reflect.api.Universe.Type

    Permalink
  43. lazy val nothing: scala.reflect.api.Universe.Type

    Permalink
  44. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  46. lazy val null_: scala.reflect.api.Universe.Type

    Permalink
  47. lazy val obj: scala.reflect.api.Universe.Type

    Permalink
  48. lazy val option: scala.reflect.api.Universe.Type

    Permalink
  49. def optionOf(element: scala.reflect.api.Universe.Type): scala.reflect.api.Universe.Type

    Permalink

    Creates a new option type.

  50. lazy val seq: scala.reflect.api.Universe.Type

    Permalink
  51. lazy val short: scala.reflect.api.Universe.Type

    Permalink
  52. def signature(sym: scala.reflect.api.Universe.Symbol, in: scala.reflect.api.Universe.Type = Type.none): scala.reflect.api.Universe.Type

    Permalink

    Extracts the type signature of sym (with an optional target), if any.

  53. lazy val string: scala.reflect.api.Universe.Type

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

    Permalink
    Definition Classes
    AnyRef
  55. def toString(): String

    Permalink
    Definition Classes
    Node → AnyRef → Any
  56. def tree(tpe: scala.reflect.api.Universe.Type): scala.reflect.api.Universe.Tree

    Permalink

    Returns the original type-tree corresponding to tpe.

  57. def tupleOf(elements: Seq[scala.reflect.api.Universe.Type]): scala.reflect.api.Universe.Type

    Permalink

    Creates a new tuple type.

  58. lazy val unit: scala.reflect.api.Universe.Type

    Permalink
  59. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. def weak[T](implicit arg0: scala.reflect.api.Universe.WeakTypeTag[T]): scala.reflect.api.Universe.Type

    Permalink

    Reifies a type from a weak tag.

  63. def weakLub(types: Seq[scala.reflect.api.Universe.Type]): scala.reflect.api.Universe.Type

    Permalink

    Returns the weak (considering coercions) least upper bound of all types.

Inherited from AST.Node

Inherited from AnyRef

Inherited from Any

Ungrouped