NumericInstructionValidator
object NumericInstructionValidator
Methods
visit
fun visit(node: NumericInstruction, context: FunctionBody): FunctionBody
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
Name | Description |
---|---|
node: NumericInstruction
|
|
context: FunctionBody
|
ReturnValue
Name | Description |
---|---|
FunctionBody
|
Validates NumericInstruction nodes.
From the docs:
[t] => [t]
.[t t] => [t]
.[t] => [i32]
.[t t] => [i32]
.\[t1] => \[t2]
.