add line localization on af
full support anonymous function