I would like to calculate the following definite integral
$$\int_{-\pi}^{\pi}e^{-x\,u\,i}e^{R\,e^{\,u\,i}}du$$
where $x,R>0$ in terms of elemental or special functions.
A first attempt
$$\int_{-\pi}^{\pi}e^{-x\,u\,i}e^{R\,e^{\,u\,i}}du=-i\,\int_Cz^{-x-1}\,e^{R\,z}\,dz$$
with $C$ the unit circle.
It's correct? In this case, how continue?
Any help or any other way to solve it will be welcomed
Your attempt is correct if $x$ is an integer (and in that case you get $2\pi R^x/x!$ following, say, this approach). Otherwise, you have a multivalued integrand, so the contour integral isn't well-defined. But one can do $$\int_{-\pi}^{\pi}e^{-xui}e^{Re^{ui}}du=\sum_{n=0}^\infty\frac{R^n}{n!}\int_{-\pi}^{\pi}e^{i(n-x)u}~du=2\sin x\pi\sum_{n=0}^\infty\frac{(-R)^n}{n!(n-x)}$$ where (analytic continuation of) the lower incomplete gamma function appears.