MemoryValidator

MemoryValidator

object MemoryValidator

Validator of Memory nodes.

From the docs:

  • The memory type memtype must be valid.
  • Then the memory definition is valid with type memtype.

Methods

visit

fun visit(node: Memory, context: Module): Module

Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).

Parameters

Name Description
node: Memory
context: Module

ReturnValue

Name Description
Module