On a class of Krasner analytic functions and applications