Func

Func

data class Func

Represents a func from a binary-encoded WebAssembly module's CodeSection. Will be used to build kwasm.ast.module.WasmFunction instances.

Fields

Name Description
val locals: List<Local>
val expr: Expression

Constructors

<init>

constructor(locals: List<Local>, expr: Expression)

Represents a func from a binary-encoded WebAssembly module's CodeSection. Will be used to build kwasm.ast.module.WasmFunction instances.

Parameters

Name Description
locals: List<Local>
expr: Expression