Generalized function processing for GPL statements