Converts an 'if' or 'unless' statement to the corresponding modifier.