Fixing the changing from token_type to literal_type. Now it prints properly. Still need to fix the reading of data_list_array, and references!
Doxygen documentation for the new function created!