plugin to get all function definitions