ExportDescriptorValidator
object ExportDescriptorValidator
Methods
visit
fun visit(node: ExportDescriptor<*>, context: Module): Module
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
Name | Description |
---|---|
node: ExportDescriptor<*>
|
|
context: Module
|
ReturnValue
Name | Description |
---|---|
Module
|
Validator of ExportDescriptor nodes.
From the docs:
C.funcs[x]
must be defined in the context.func C.funcs[x]
.C.tables[x]
must be defined in the context.table C.tables[x]
.C.mems[x]
must be defined in the context.mem C.mems[x]
.C.globals\[x]
must be defined in the context.global C.globals\[x]
.