Package-level declarations

Types

Link copied to clipboard
class ActiveDataSegment(idx: Long, offsetInstructions: List<Instruction>, data: ByteArray) : DataSegment
Link copied to clipboard
class ActiveElement(type: ValType, initializers: List<List<Instruction>>, tableIndex: Int, offset: List<Instruction>) : Element

An active element. An active element copies its elements into a table during initialization of that table.

Link copied to clipboard
Link copied to clipboard
class ArrayType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class CompType
Link copied to clipboard
abstract class CustomSection : Section

A custom section of some kind.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class DataSegment(data: ByteArray)
Link copied to clipboard
class DeclarativeElement(type: ValType, initializers: List<List<Instruction>>) : Element

A declarative element. A declarative element is not available at runtime.

Link copied to clipboard
abstract class Element(type: ValType, initializers: List<List<Instruction>>)

An element, used to initialize table ranges.

Link copied to clipboard
Link copied to clipboard
open class Export(name: String, index: Int, exportType: ExternalType)
Link copied to clipboard
Link copied to clipboard

The type of external definition, import, or export.

Link copied to clipboard
class FieldType
Link copied to clipboard
class FunctionBody(locals: List<ValType>, instructions: List<AnnotatedInstruction>)
Link copied to clipboard
class FunctionImport(moduleName: String, name: String, typeIndex: Int) : Import
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Global(valType: ValType, mutabilityType: MutabilityType, init: List<Instruction>)
Link copied to clipboard
class GlobalImport(moduleName: String, name: String, mutabilityType: MutabilityType, type: ValType) : Import
Link copied to clipboard
Link copied to clipboard
abstract class Import(module: String, name: String)
Link copied to clipboard
Link copied to clipboard
open class Instruction(address: Int, opcode: OpCode, operands: LongArray)
Link copied to clipboard
class Memory(limits: MemoryLimits)
Link copied to clipboard
class MemoryImport(moduleName: String, name: String, limits: MemoryLimits) : Import
Link copied to clipboard
class MemoryLimits(initial: Int, maximum: Int = MAX_PAGES, shared: Boolean = false)
Link copied to clipboard
Link copied to clipboard

The kind of mutability

Link copied to clipboard

The "name" custom section.

Link copied to clipboard
enum OpCode : Enum<OpCode>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class PassiveElement(type: ValType, initializers: List<List<Instruction>>) : Element

A passive element. A passive element can be copied into a table using the table.init instruction.

Link copied to clipboard
class RawSection(id: Long, contents: ByteArray) : Section
Link copied to clipboard
class RecType
Link copied to clipboard
abstract class Section(id: Long)
Link copied to clipboard
class SectionId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SubType
Link copied to clipboard
open class Table(elementType: ValType, limits: TableLimits, init: List<Instruction>)
Link copied to clipboard
class TableImport(moduleName: String, name: String, entryType: ValType, limits: TableLimits) : Import
Link copied to clipboard
open class TableLimits(min: Long, max: Long = LIMIT_MAX, shared: Boolean = false)
Link copied to clipboard
Link copied to clipboard
class TagImport(moduleName: String, name: String, attribute: Byte, tagTypeIdx: Int) : Import
Link copied to clipboard
Link copied to clipboard
open class TagType(attribute: Byte, typeIdx: Int)
Link copied to clipboard
Link copied to clipboard

A custom section which is unknown to the parser.

Link copied to clipboard
class ValType

The possible WASM value types.

Link copied to clipboard
open class Value
Link copied to clipboard
object ValueJvm
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect annotation class WasmJvmStatic
actual typealias WasmJvmStatic = JvmStatic