scala.tools.nsc.backend.icode.TypeKinds

TypeKind

sealed abstract class TypeKind extends AnyRef

This class represents a type kind. Type kinds represent the types that the VM know (or the ICode view of what VMs know).

Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypeKind
  2. AnyRef
  3. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeKind()

Abstract Value Members

  1. abstract def <:<(other: ICodes.TypeKind): Boolean

    Simple subtyping check

  2. abstract def maxType(other: ICodes.TypeKind): ICodes.TypeKind

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Implicit information
    This member is added by an implicit conversion from ICodes.TypeKind to StringAdd[ICodes.TypeKind] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ICodes.TypeKind, B)

    Implicit information
    This member is added by an implicit conversion from ICodes.TypeKind to ArrowAssoc[ICodes.TypeKind] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def dimensions: Int

    The number of dimensions for array types.

  11. def ensuring(cond: (ICodes.TypeKind) ⇒ Boolean, msg: ⇒ Any): ICodes.TypeKind

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  21. def isArrayType: Boolean

  22. final def isAssignabledTo(other: ICodes.TypeKind): Boolean

    this is directly assignable to other if no coercion or casting is needed to convert this to other.

    this is directly assignable to other if no coercion or casting is needed to convert this to other. It's a distinct relationship from <:< because on the JVM, BOOL, BYTE, CHAR, SHORT need no coercion to INT even though JVM arrays are covariant, ARRAY[SHORT] is not a subtype of ARRAY[INT]

  23. def isBoxedType: Boolean

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def isIntSizedType: Boolean

    On the JVM, BOOL, BYTE, CHAR, SHORT, and INT are like Ints for the purposes of calculating the lub.

  26. def isIntegralType: Boolean

    On the JVM, similar to isIntSizedType except that BOOL isn't integral while LONG is.

  27. final def isInterfaceType: Boolean

  28. final def isNothingType: Boolean

  29. final def isNullType: Boolean

  30. final def isNumericType: Boolean

  31. def isRealType: Boolean

    On the JVM, FLOAT and DOUBLE.

  32. final def isRefOrArrayType: Boolean

  33. def isReferenceType: Boolean

  34. def isValueType: Boolean

  35. def isWideType: Boolean

    Is this type a category 2 type in JVM terms? (ie, is it LONG or DOUBLE?)

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

    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def toType: Global.Type

  42. def uncomparable(other: ICodes.TypeKind): Nothing

    Attributes
    protected
  43. def uncomparable(thisKind: String, other: ICodes.TypeKind): Nothing

    Attributes
    protected
  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def [B](y: B): (ICodes.TypeKind, B)

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from ICodes.TypeKind to StringAdd[ICodes.TypeKind]

Inherited by implicit conversion StringFormat from ICodes.TypeKind to StringFormat[ICodes.TypeKind]

Inherited by implicit conversion Ensuring from ICodes.TypeKind to Ensuring[ICodes.TypeKind]

Inherited by implicit conversion ArrowAssoc from ICodes.TypeKind to ArrowAssoc[ICodes.TypeKind]

Ungrouped