ImportDescriptorValidator
        object ImportDescriptorValidator
      
Methods
visit
        fun visit(node: ImportDescriptor, context: Module): Module
      
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
| Name | Description | 
|---|---|
| node: ImportDescriptor | |
| context: Module | 
ReturnValue
| Name | Description | 
|---|---|
| Module | 
Validator of ImportDescriptor nodes.
From the docs:
C.types[x]must be defined in the context.[t*^1] => [t*^2]be the function typeC.types[x].func [t*^1] => [t*^2].tabletypemust be valid.table tabletype.memtypemust be valid.mem memtype.globaltypemust be valid.global globaltype.