Func
data class Func
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
|
Represents a func from a binary-encoded WebAssembly module's CodeSection. Will be used to build kwasm.ast.module.WasmFunction instances.