support parsing of exported function