addStatement(new StmtExpr(stmt.getContext(), cplx.getReal())); addStatement(new StmtExpr(stmt.getContext(), cplx.getImag()));
addStatement(new StmtExpr(stmt.getContext(), cplx.getRealExpr())); addStatement(new StmtExpr(stmt.getContext(), cplx.getImagExpr()));
    public Object visitStmtExpr(StmtExpr stmt)    {        Expression newExpr = doExprProp(stmt.getExpression());        if (newExpr instanceof ExprComplex)        {            ExprComplex cplx = (ExprComplex)newExpr;            addStatement(new StmtExpr(stmt.getContext(), cplx.getReal()));            addStatement(new StmtExpr(stmt.getContext(), cplx.getImag()));            return null;        }        if (newExpr == stmt.getExpression())            return stmt;        return new StmtExpr(stmt.getContext(), newExpr);    }