In getExpressionEnd(), when checking for "(" or ")", ensure the current state is not singleQuoteOn. If we are inside a string literal, we must not interpret these characters as special.