Trait

org.scalajs.core.compiler

TypeKinds

Related Doc: package compiler

Permalink

trait TypeKinds[G <: Global with Singleton] extends SubComponent

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

Self Type
GenJSCode[G]
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
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    An array

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

    Permalink

    Floating-point number (Float or Double).

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

    Permalink

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

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

    Permalink

    An object

  5. abstract class StdPhase extends GlobalPhase

    Permalink
    Definition Classes
    SubComponent
  6. sealed abstract class TypeKind extends AnyRef

    Permalink

    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

    Permalink
  8. sealed abstract class ValueTypeKind extends GenJSCode.TypeKindButArray

    Permalink

Abstract Value Members

  1. abstract val global: Global

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

    Permalink
    Definition Classes
    SubComponent
  3. abstract val phaseName: String

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

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

    Permalink
    Definition Classes
    SubComponent

Concrete Value Members

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

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

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

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

    Permalink

    Boolean

  5. lazy val BooleanKind: GenJSCode.BOOL.type

    Permalink
  6. lazy val ByteKind: GenJSCode.INT

    Permalink
  7. lazy val CharKind: GenJSCode.INT

    Permalink
  8. lazy val DoubleKind: GenJSCode.FLOAT

    Permalink
  9. lazy val FloatKind: GenJSCode.FLOAT

    Permalink
  10. lazy val IntKind: GenJSCode.INT

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

    Permalink

    Long

  12. lazy val LongKind: GenJSCode.LONG.type

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

    Permalink

    Nothing

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

    Permalink

    Null

  15. lazy val ObjectReference: GenJSCode.REFERENCE

    Permalink
  16. lazy val ShortKind: GenJSCode.INT

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

    Permalink

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

  18. lazy val VoidKind: GenJSCode.VOID.type

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    SubComponent
  30. val internal: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def ownPhase: Phase

    Permalink
    Definition Classes
    SubComponent
  36. def phaseNewFlags: Long

    Permalink
    Definition Classes
    SubComponent
  37. def phaseNextFlags: Long

    Permalink
    Definition Classes
    SubComponent
  38. lazy val primitiveTypeMap: Map[G.Symbol, GenJSCode.TypeKind]

    Permalink

    TypeKinds for Scala primitive types.

  39. val requires: List[String]

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

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

    Permalink
    Definition Classes
    AnyRef
  42. val terminal: Boolean

    Permalink
    Definition Classes
    SubComponent
  43. def toIRType(t: G.Type): Type

    Permalink
  44. def toReferenceType(t: G.Type): ReferenceType

    Permalink
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. def toTypeKind(t: G.Type): GenJSCode.TypeKind

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped