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;
}