InfixExpression(int type, ASTNode leftOperand, ASTNode rightOperand) { this.type = type; this.leftOperand = leftOperand; this.rightOperand = rightOperand; leftOperand.setParent(this); rightOperand.setParent(this); }