NumericConstantInstructionValidator

NumericConstantInstructionValidator

object NumericConstantInstructionValidator

Validates NumericConstantInstruction nodes.

From the docs:


t.const c

  • The instruction is valid with type [] => \[t].

Methods

visit

fun visit(node: NumericConstantInstruction<*>, context: FunctionBody): FunctionBody

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

Parameters

Name Description
node: NumericConstantInstruction<*>
context: FunctionBody

ReturnValue

Name Description
FunctionBody