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.type
class F
object Double.type
object Float.type
class FixedSizeI
object Byte.type
object Char.type
object Int.type
object Long.type
object Short.type
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