Example #1
0
        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));
        }