public override REBase Copy() { REExpression _operandL = (OperandLeft != null)? (REExpression)OperandLeft.Copy() : null; REExpression _operandR = (OperandRight != null)? (REExpression)OperandRight.Copy() : null; return(new REEqual(_operandL, _operandR)); }
public override REBase Copy() { REExpression _condition = (Condition != null)? (REExpression)Condition.Copy() : null; REStatement _thenStatement = (ThenStatement != null)? (REStatement)ThenStatement.Copy() : null; REStatement _elseStatement = (ElseStatement != null)? (REStatement)ElseStatement.Copy() : null; return(new REIfStatement(_condition, _thenStatement, _elseStatement)); }
public REIfStatement(REExpression condition, REStatement thenStatement, REStatement elseStatement = null) { Condition = condition; ThenStatement = thenStatement; ElseStatement = elseStatement; }
public REEqual(REExpression operandLeft, REExpression operandRight) : base(operandLeft, operandRight) { }