scala.scalajs.ir

Types

object Types

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Types
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class ArrayType(baseClassName: String, dimensions: Int) extends ReferenceType with Product with Serializable

    Array type.

  2. final case class ClassType(className: String) extends ReferenceType with Product with Serializable

    Class (or interface) type.

  3. sealed abstract class ReferenceType extends Type

    Reference types (allowed for classOf[], is/asInstanceOf[]).

  4. sealed abstract class Type extends AnyRef

    Type of an expression in the IR.

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 AnyType extends Type with Product with Serializable

    Any type (the top type of this type system).

    Any type (the top type of this type system). A variable of this type can contain any value, including undefined and null and any raw JS value. This type supports a very limited set of operations, the ones common to all values. Basically only toString(), equality tests and instance tests. The type java.lang.Object in the back-end maps to AnyType because it can hold raw JS values (not only instances of Scala.js classes).

  5. object ArrayType extends Serializable

  6. object BooleanType extends Type with Product with Serializable

    Boolean type.

    Boolean type. It does not accept null nor undefined.

  7. object DoubleType extends Type with Product with Serializable

    Double type.

    Double type. It does not accept null nor undefined.

  8. object DynType extends Type with Product with Serializable

    Dynamic type.

    Dynamic type. Used for raw JavaScript values, among others. A variable of this type can contain any value (just like AnyType). Unlike AnyType, all JavaScript operations are permitted on an expression of this type.

  9. object IntType extends Type with Product with Serializable

    32-bit signed integer type.

    32-bit signed integer type. It does not accept null nor undefined.

  10. object NoType extends Type with Product with Serializable

    No type.

  11. object NothingType extends Type with Product with Serializable

    Nothing type (the bottom type of this type system).

    Nothing type (the bottom type of this type system). Expressions from which one can never come back are typed as Nothing. For example, throw and return.

  12. object NullType extends Type with Product with Serializable

    The type of null.

    The type of null. It does not accept undefined. The null type is a subtype of all class types and array types.

  13. object StringType extends Type with Product with Serializable

    String type.

    String type. It does not accept null nor undefined.

  14. object UndefType extends Type with Product with Serializable

    The type of undefined.

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped