IR

sealed interface IR(source)

Data type descriptors, sometimes referred to as "IR" (internal representation). These are short strings which identify the specific data types supported by WASM and/or the JS/WASM glue code.

Inheritors

Types

Link copied to clipboard
data object F32 : IR

32-bit floating point value. Alias: float.

Link copied to clipboard
data object F64 : IR

64-bit floating point value. Alias: double.

Link copied to clipboard
data object I16 : IR.Number

16-bit signed integer.

Link copied to clipboard
data object I32 : IR.Number

32-bit signed integer. Aliases: int, *, ** (noting that * and ** may be remapped dynamically to i64 when WASM environments gain 64-bit pointer capabilities).

Link copied to clipboard
data object I64 : IR.Integer

64-bit signed integer. APIs which use this require that the application has been built with BigInt support, and will throw if that is not the case.

Link copied to clipboard
data object I8 : IR.Number

8-bit signed integer.

Link copied to clipboard
sealed interface Integer : IR

Integer IRs.

Link copied to clipboard
sealed interface Number : IR.Integer

Regular JS number.

Link copied to clipboard
data object Ptr : IR

Pointer.

Properties

Link copied to clipboard
abstract val value: String