InstructionValidator
object InstructionValidator
Methods
visit
fun visit(node: Instruction, context: FunctionBody): FunctionBody
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
Name | Description |
---|---|
node: Instruction
|
|
context: FunctionBody
|
ReturnValue
Name | Description |
---|---|
FunctionBody
|
Validates Instruction nodes by multiplexing out to implementation-specific variants.