Wraps an expression in a switch statement.