function get_all_comment to get_all_functions