Prettify queries and SDL, remove insignificant commas safely, inspect operations/fragments/variables, detect structural mistakes, and prove the formatter preserved the executable token stream.