IfNode

fun IfNode(guard: AtomicExpressionNode, thenBranch: BlockNode, elseBranch: BlockNode, sourceLocation: SourceLocation)

Parameters

thenBranch

Statement to execute if the guard is true.

elseBranch

Statement to execute if the guard is false.