public override Expression Modified() { Symatic.BinaryConvertResult res = Symatic.ConvertBinaryOperands(this.left_operand, this.right_operand, this.op); this.left_operand = res.left.Modified(); this.right_operand = res.right.Modified(); this.op = res.op; return(this); }
private void CheckAndCastOperands() { if (this.left_operand == null || this.right_operand == null) { return; } Symatic.BinaryConvertResult res = Symatic .ConvertBinaryOperands(this.left_operand, this.right_operand, this.op); this.type = res.type; this.lvalue = res.lvalue; }