BlockValidator
        object BlockValidator
      
Methods
visit
        fun visit(node: ControlInstruction, context: FunctionBody): FunctionBody
      
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
| Name | Description | 
|---|---|
| node: ControlInstruction | |
| context: FunctionBody | 
ReturnValue
| Name | Description | 
|---|---|
| FunctionBody | 
Validator of kwasm.ast.instruction.BlockInstruction nodes.
For specific validation requirements, see the docs for the
validateextension functions on ControlInstruction.Block, ControlInstruction.Loop, and ControlInstruction.If.