Module
        data class Module
      
Fields
| Name | Description | 
|---|---|
| val types: AstNodeIndex<Type> | |
| val functions: AstNodeIndex<TypeUse> | |
| val tables: AstNodeIndex<TableType> | |
| val memories: AstNodeIndex<MemoryType> | |
| val globals: AstNodeIndex<GlobalType> | 
Constructors
<init>
        constructor(types: AstNodeIndex<Type>, functions: AstNodeIndex<TypeUse>, tables: AstNodeIndex<TableType>, memories: AstNodeIndex<MemoryType>, globals: AstNodeIndex<GlobalType>)
      
See ValidationContext.
Parameters
| Name | Description | 
|---|---|
| types: AstNodeIndex<Type> | |
| functions: AstNodeIndex<TypeUse> | |
| tables: AstNodeIndex<TableType> | |
| memories: AstNodeIndex<MemoryType> | |
| globals: AstNodeIndex<GlobalType> | 
Methods
toFunctionBody
        fun toFunctionBody(locals: AstNodeIndex<ValueType>, labels: AstNodeIndex<ResultType>, returnType: ResultType?): FunctionBody
      
Parameters
| Name | Description | 
|---|---|
| locals: AstNodeIndex<ValueType> | |
| labels: AstNodeIndex<ResultType> | |
| returnType: ResultType? | 
ReturnValue
| Name | Description | 
|---|---|
| FunctionBody | 
See ValidationContext.