org.scalajs.core.compiler

TypeKinds

Related Doc: package compiler

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: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. object BOOL extends GenJSCode.ValueTypeKind with Product with Serializable

    Boolean

  5. lazy val BooleanKind: GenJSCode.BOOL.type

  6. lazy val ByteKind: GenJSCode.INT

  7. lazy val CharKind: GenJSCode.INT

  8. lazy val DoubleKind: GenJSCode.FLOAT

  9. lazy val FloatKind: GenJSCode.FLOAT

  10. lazy val IntKind: GenJSCode.INT

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

    Long

  12. lazy val LongKind: GenJSCode.LONG.type

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

    Nothing

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

    Null

  15. lazy val ObjectReference: GenJSCode.REFERENCE

  16. lazy val ShortKind: GenJSCode.INT

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

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

  18. lazy val VoidKind: GenJSCode.VOID.type

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def enabled: Boolean

    Definition Classes
    SubComponent
  24. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    SubComponent → AnyRef → Any
  29. val initial: Boolean

    Definition Classes
    SubComponent
  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 requires: List[String]

    Definition Classes
    SubComponent
  40. val runsBefore: List[String]

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

    Definition Classes
    AnyRef
  42. val terminal: Boolean

    Definition Classes
    SubComponent
  43. def toIRType(t: scala.tools.nsc.Global.Type): Type

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

  45. def toString(): String

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

  47. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped