UnaryComparisonOperator orig = (UnaryComparisonOperator)op;
UnaryComparisonOperator cloneOp = (UnaryComparisonOperator)matches.get(op);
cloneOp.setExpr((ExpressionOperator)matches.get(orig.getExpr()));
cloneOp.setOperandType(orig.getOperandType());
} else if (op instanceof BinaryExpressionOperator) {
BinaryExpressionOperator orig = (BinaryExpressionOperator)op;
BinaryExpressionOperator cloneOp = (BinaryExpressionOperator)matches.get(op);
cloneOp.setRhs((ExpressionOperator)matches.get(orig.getRhs()));
cloneOp.setLhs((ExpressionOperator)matches.get(orig.getLhs()));
} else if (op instanceof POBinCond) {
POBinCond orig = (POBinCond)op;
POBinCond cloneOp = (POBinCond)matches.get(op);
cloneOp.setRhs((ExpressionOperator)matches.get(orig.getRhs()));
cloneOp.setLhs((ExpressionOperator)matches.get(orig.getLhs()));
cloneOp.setCond((ExpressionOperator)matches.get(orig.getCond()));
}
}
return clone;
}