scala.tools.nsc.backend.icode

TypeKinds

trait TypeKinds extends AnyRef

Self Type
ICodes
Source
TypeKinds.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypeKinds
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class ARRAY(elem: TypeKind) extends TypeKind with Product with Serializable

  2. case class BOXED(kind: TypeKind) extends TypeKind with Product with Serializable

    A boxed value.

  3. final case class REFERENCE(cls: Symbol) extends TypeKind with Product with Serializable

    A class type.

  4. sealed abstract class TypeKind extends AnyRef

    This class represents a type kind.

  5. sealed abstract class ValueTypeKind extends TypeKind

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 TypeKinds to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (TypeKinds, B)

    Implicit information
    This member is added by an implicit conversion from TypeKinds to ArrowAssoc[TypeKinds] performed by method any2ArrowAssoc 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. def ArrayN(elem: TypeKind, dims: Int): ARRAY

  9. object BOOL extends ValueTypeKind with Product with Serializable

    A boolean value

  10. object BYTE extends ValueTypeKind with Product with Serializable

    A 1-byte signed integer

  11. object CHAR extends ValueTypeKind with Product with Serializable

    A 2-byte UNSIGNED integer

  12. object ConcatClass extends TypeKind with Product with Serializable

    Dummy TypeKind to represent the ConcatClass in a platform-independent way.

  13. object DOUBLE extends ValueTypeKind with Product with Serializable

    An 8-byte floating point number

  14. object FLOAT extends ValueTypeKind with Product with Serializable

    A 4-byte floating point number

  15. object INT extends ValueTypeKind with Product with Serializable

    A 4-byte signed integer

  16. object LONG extends ValueTypeKind with Product with Serializable

    An 8-byte signed integer

  17. object SHORT extends ValueTypeKind with Product with Serializable

    A 2-byte signed integer

  18. object UNIT extends ValueTypeKind with Product with Serializable

    The unit value

  19. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  20. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def ensuring(cond: (TypeKinds) ⇒ Boolean, msg: ⇒ Any): TypeKinds

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

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

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

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def formatted(fmtstr: String): String

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

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

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

    Definition Classes
    Any
  32. def lub(a: TypeKind, b: TypeKind): TypeKind

    The least upper bound of two typekinds.

    The least upper bound of two typekinds. They have to be either REFERENCE or ARRAY kinds.

    The lub is based on the lub of scala types.

  33. var lubs0: Int

  34. def msil_mgdptr(tk: TypeKind): TypeKind

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

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

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

    Definition Classes
    AnyRef
  38. lazy val primitiveTypeMap: Map[Symbol, TypeKind]

    A map from scala primitive Types to ICode TypeKinds

  39. val self: Any

    Implicit information
    This member is added by an implicit conversion from TypeKinds to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  40. val self: Any

    Implicit information
    This member is added by an implicit conversion from TypeKinds to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. def toTypeKind(t: Type): TypeKind

    Return the TypeKind of the given type

    Return the TypeKind of the given type

    Call to .normalize fixes #3003 (follow type aliases). Otherwise, arrayOrClassType below would return ObjectReference.

  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): (TypeKinds, B)

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

Deprecated Value Members

  1. def x: TypeKinds

    Implicit information
    This member is added by an implicit conversion from TypeKinds to ArrowAssoc[TypeKinds] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: TypeKinds

    Implicit information
    This member is added by an implicit conversion from TypeKinds to Ensuring[TypeKinds] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from TypeKinds to StringFormat

Inherited by implicit conversion any2stringadd from TypeKinds to StringAdd

Inherited by implicit conversion any2ArrowAssoc from TypeKinds to ArrowAssoc[TypeKinds]

Inherited by implicit conversion any2Ensuring from TypeKinds to Ensuring[TypeKinds]