Babel.Compiler.TypecaseStatement.Clone C# (CSharp) Method

Clone() public method

public Clone ( ) : object
return object
        public override object Clone()
        {
            TypecaseStatement typecase =
                (TypecaseStatement) base.Clone();
            typecase.variable = (LocalExpression) variable.Clone();
            typecase.whenPartList = (NodeList) whenPartList.Clone();
            if (typecase.elsePart != null)
                typecase.elsePart = (StatementList) elsePart.Clone();
            return typecase;
        }