ParametricInstructionValidator
object ParametricInstructionValidator
Methods
visit
fun visit(node: ParametricInstruction, context: FunctionBody): FunctionBody
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
Name | Description |
---|---|
node: ParametricInstruction
|
|
context: FunctionBody
|
ReturnValue
Name | Description |
---|---|
FunctionBody
|
Validator of ParametricInstruction nodes.
From the docs:
ParametricInstruction.Drop
[t] =>[]
, for any value typet
.ParametricInstruction.Select
[t t i32] => [t]
, for any value typet
.