PrimitiveKind

scala.scalanative.nir.Type.PrimitiveKind
sealed abstract class PrimitiveKind(val width: Int) extends ValueKind

A primitive value type.

Value parameters

width

The bit width of the type's instances.

Attributes

Graph
Supertypes
class ValueKind
class Type
class Object
trait Matchable
class Any
Known subtypes
object Bool
class F
object Double
object Float
class FixedSizeI
object Byte
object Char
object Int
object Long
object Short
Show all

Members list

Value members

Inherited methods

def =?=(other: Type): Boolean

Attributes

Inherited from:
Type
final def elemty(path: Seq[Val]): Type

Attributes

Inherited from:
Type

Attributes

Inherited from:
Type
final def mangle: String

The mangled representation of this.

The mangled representation of this.

Attributes

Inherited from:
Type
final def show: String

A textual representation of this.

A textual representation of this.

Attributes

Inherited from:
Type

Concrete fields

val width: Int