//Method to set the lhs of the given if to the rhs of this if public void SetLHSToRHS(ref Code_if theLHS) { theLHS.bl_lhsvalue = bl_rhsvalue; theLHS.hasLhs = hasRhs; theLHS.ifLHS = ifRHS; theLHS.leftV = rightV; theLHS.str_lhsvalue = str_rhsvalue; theLHS.mathLHS = mathRHS; theLHS.nbr_lhsvalue = nbr_rhsvalue; theLHS.lhs = rhs; }