org.scalajs.core.compiler

TypeKinds

trait TypeKinds extends SubComponent

Glue representation of types as seen from the IR but still with a reference to the Symbols.

Self Type
GenJSCode
Linear Supertypes
SubComponent, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypeKinds
  2. SubComponent
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ARRAY extends GenJSCode.TypeKind with Product with Serializable

    An array

  2. case class FLOAT extends GenJSCode.ValueTypeKind with Product with Serializable

    Floating-point number (Float or Double).

  3. case class INT extends GenJSCode.ValueTypeKind with Product with Serializable

    Integer number (Byte, Short, Char or Int).

  4. case class REFERENCE extends GenJSCode.TypeKindButArray with Product with Serializable

    An object

  5. abstract class StdPhase extends GlobalPhase

    Definition Classes
    SubComponent
  6. sealed abstract class TypeKind extends AnyRef

    Glue representation of types as seen from the IR but still with a reference to the Symbols.

  7. sealed abstract class TypeKindButArray extends GenJSCode.TypeKind

  8. sealed abstract class ValueTypeKind extends GenJSCode.TypeKindButArray

Abstract Value Members

  1. abstract val global: Global

    Definition Classes
    SubComponent
  2. abstract def newPhase(prev: Phase): Phase

    Definition Classes
    SubComponent
  3. abstract val phaseName: String

    Definition Classes
    SubComponent
  4. abstract val runsAfter: List[String]

    Definition Classes
    SubComponent
  5. abstract val runsRightAfter: Option[String]

    Definition Classes
    SubComponent

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. object BOOL extends GenJSCode.ValueTypeKind with Product with Serializable

    Boolean

  7. lazy val BooleanKind: GenJSCode.BOOL.type

  8. lazy val ByteKind: GenJSCode.INT

  9. lazy val CharKind: GenJSCode.INT

  10. lazy val DoubleKind: GenJSCode.FLOAT

  11. lazy val FloatKind: GenJSCode.FLOAT

  12. lazy val IntKind: GenJSCode.INT

  13. object LONG extends GenJSCode.ValueTypeKind with Product with Serializable

    Long

  14. lazy val LongKind: GenJSCode.LONG.type

  15. object NOTHING extends GenJSCode.TypeKindButArray with Product with Serializable

    Nothing

  16. object NULL extends GenJSCode.TypeKindButArray with Product with Serializable

    Null

  17. lazy val ObjectReference: GenJSCode.REFERENCE

  18. lazy val ShortKind: GenJSCode.INT

  19. object VOID extends GenJSCode.TypeKindButArray with Product with Serializable

    The void, for trees that can only appear in statement position.

  20. lazy val VoidKind: GenJSCode.VOID.type

  21. final def afterOwnPhase[T](op: ⇒ T): T

    Definition Classes
    SubComponent
    Annotations
    @inline()
  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. final def beforeOwnPhase[T](op: ⇒ T): T

    Definition Classes
    SubComponent
    Annotations
    @inline()
  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

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

    Definition Classes
    SubComponent → AnyRef → Any
  30. val internal: Boolean

    Definition Classes
    SubComponent
  31. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  35. def ownPhase: Phase

    Definition Classes
    SubComponent
  36. def phaseNewFlags: Long

    Definition Classes
    SubComponent
  37. def phaseNextFlags: Long

    Definition Classes
    SubComponent
  38. lazy val primitiveTypeMap: Map[scala.tools.nsc.Global.Symbol, GenJSCode.TypeKind]

    TypeKinds for Scala primitive types.

  39. val runsBefore: List[String]

    Definition Classes
    SubComponent
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toIRType(t: scala.tools.nsc.Global.Type): Type

  42. def toReferenceType(t: scala.tools.nsc.Global.Type): ReferenceType

  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. def toTypeKind(t: scala.tools.nsc.Global.Type): GenJSCode.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.

  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped