Creates a conditional node with its two possible branches.
IfNode(this.condition, this.thenBranch, this.elseBranch);