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. Hide All
  2. Show all
  1. TypeKinds
  2. AnyRef
  3. Any
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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def ArrayN(elem: TypeKind, dims: Int): ARRAY

  7. object BOOL extends ValueTypeKind with Product with Serializable

    A boolean value

  8. object BYTE extends ValueTypeKind with Product with Serializable

    A 1-byte signed integer

  9. object CHAR extends ValueTypeKind with Product with Serializable

    A 2-byte UNSIGNED integer

  10. object ConcatClass extends TypeKind with Product with Serializable

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

  11. object DOUBLE extends ValueTypeKind with Product with Serializable

    An 8-byte floating point number

  12. object FLOAT extends ValueTypeKind with Product with Serializable

    A 4-byte floating point number

  13. object INT extends ValueTypeKind with Product with Serializable

    A 4-byte signed integer

  14. object LONG extends ValueTypeKind with Product with Serializable

    An 8-byte signed integer

  15. object SHORT extends ValueTypeKind with Product with Serializable

    A 2-byte signed integer

  16. object UNIT extends ValueTypeKind with Product with Serializable

    The unit value

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  25. 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.

  26. var lubs0: Int

  27. def msil_mgdptr(tk: TypeKind): TypeKind

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

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

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

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

    A map from scala primitive Types to ICode TypeKinds

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

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. 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.

  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any