Did you know ... Search Documentation:
Pack lsp_server -- prolog/lsp_formatter_parser.pl
PublicShow source

Module for parsing Prolog source code, for subsequent formatting

author
- James Cash
To be done
- Files using quasi-quotations currently aren't supported; need to teach prolog_read_source_term/4 to load correctly
 reified_format_for_file(+Path:string, -Reified:list) is det
Read the prolog source file at Path into a flattened list of terms indicating content, comments, and whitespace.
 emit_reified(+To, +Reified) is det
Output source file as read with reified_format_for_file/2 to To, as format/3.