WasmFunction
        data class WasmFunction
      
Fields
| Name | Description | 
|---|---|
| val id: Function? | |
| val typeUse: TypeUse? | |
| val locals: List<Local> | |
| val instructions: List<Instruction> | 
Constructors
<init>
        constructor(id: Function?, typeUse: TypeUse?, locals: List<Local>, instructions: List<Instruction>)
      
Encapsulates a function within a WasmModule.
Parameters
| Name | Description | 
|---|---|
| id: Function? | |
| typeUse: TypeUse? | |
| locals: List<Local> | |
| instructions: List<Instruction> | 
Extensions
validate
        fun WasmFunction.validate(context: Module): Module
      
Validates the WasmFunction node.
Receiver
| Name | Description | 
|---|---|
| WasmFunction | 
Parameters
| Name | Description | 
|---|---|
| context: Module | 
ReturnValue
| Name | Description | 
|---|---|
| Module | 
Encapsulates a function within a WasmModule.