PrimRef

org.scalajs.ir.Types$.PrimRef
final case class PrimRef extends NonArrayTypeRef

Primitive type reference.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class TypeRef
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def show(): String

Attributes

Inherited from:
TypeRef

Concrete fields

val charCode: Char

The char code of this primitive type.

The char code of this primitive type.

For all primitive types except NullType and NothingType, this is specified by the IR spec in the sense that it is visible in the result of classOf[Array[Prim]].getName() (e.g., that is "[I" for Array[Int]).

For NullType and NothingType, the char codes are 'N' and 'E', respectively.

Attributes

The display name of this primitive type.

The display name of this primitive type.

For all primitive types except NullType and NothingType, this is specified by the IR spec in the sense that it is the result of classOf[Prim].getName().

For NullType and NothingType, the names are "null" and "nothing", respectively.

Attributes