ControlInstructionValidator
object ControlInstructionValidator
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 ControlInstruction nodes.
See: PlainValidator and BlockValidator for more information.