| FormatOptions public API | SqlFormatter\Core | Immutable layout choices shared by all dialects. |
| Formatter @visibility SqlFormatter | SqlFormatter\Core | Formats and verifies SQL using injected parsing and formatting contracts. |
| FormattingException public API | SqlFormatter\Core | A layout failed verification against the original concrete syntax tree. |
| Document @visibility SqlFormatter | SqlFormatter\Core\Compact | Builds a canonical token stream without changing the parser's immutable tree. |
| Grouping @visibility SqlFormatter | SqlFormatter\Core\Compact | Distinguishes expression grouping from row constructors, subqueries, and argument lists. |
| Keywords @visibility SqlFormatter | SqlFormatter\Core\Compact | Normalizes terminals according to supplied identifier and keyword declarations. |
| Reductions @visibility SqlFormatter | SqlFormatter\Core\Compact | Collects grammar-owned reductions that must be validated by reparsing. |
| Renderer @visibility SqlFormatter | SqlFormatter\Core\Compact | Renders and verifies compact SQL using a dialect-specific canonical token stream. |
| Rules @visibility SqlFormatter | SqlFormatter\Core\Compact | Recognizes optional syntax by its grammar owner rather than neighboring words. |
| Settings @visibility SqlFormatter | SqlFormatter\Core\Compact | Grammar-specific canonicalization inputs, independent of parser selection. |
| Shape @visibility SqlFormatter | SqlFormatter\Core\Compact | Compares canonical syntax while retaining operand nesting and operator association. |
| Spacing @visibility SqlFormatter | SqlFormatter\Core\Compact | Uses the configured lexer to distinguish required separators from layout whitespace. |
| Trivia @visibility SqlFormatter | SqlFormatter\Core\Compact | Removes ordinary comments while retaining directives and executable comment bodies. |
| Visitor @visibility SqlFormatter | SqlFormatter\Core\Compact | Applies canonical spellings and optional grammar rules to a lossless syntax tree. |
| Block @visibility SqlFormatter | SqlFormatter\Core\Layout | Renders a nested token range with independent clause alignment. |
| Elements @visibility SqlFormatter | SqlFormatter\Core\Layout | Emits expressions and delegates nested query and CASE blocks to the renderer. |
| Headers @visibility SqlFormatter | SqlFormatter\Core\Layout | Measures and emits headers without looking inside nested query blocks. |
| Policy @visibility SqlFormatter | SqlFormatter\Core\Layout | Whitespace and alignment decisions for one nested block. |
| Renderer @visibility SqlFormatter | SqlFormatter\Core\Layout | Applies one layout to grammar-derived clauses, lists, and nested blocks. |
| Spacing @visibility SqlFormatter | SqlFormatter\Core\Layout | Separates tokens without rewriting their contents or merging adjacent operators. |
| Writer @visibility SqlFormatter | SqlFormatter\Core\Layout | Writes chosen whitespace while retaining comment-bearing trivia verbatim. |
| Analyzer @visibility SqlFormatter | SqlFormatter\Core\Syntax | Walks the CST once; the grammar distinguishes list commas and boolean operators. |
| Brackets @visibility SqlFormatter | SqlFormatter\Core\Syntax | Pairs parentheses and identifies nested query blocks. |
| Document @visibility SqlFormatter | SqlFormatter\Core\Syntax | Tokens and grammar-derived layout marks, indexed in source order. |
| Expressions @visibility SqlFormatter | SqlFormatter\Core\Syntax | Distinguishes boolean conjunctions, range predicates, signs, and CASE expressions. |
| Fingerprint @visibility SqlFormatter | SqlFormatter\Core\Syntax | Compares grammar derivations and exact token spellings independently of whitespace. |
| Headers @visibility SqlFormatter | SqlFormatter\Core\Syntax | Recognizes complete multiword clause headers in source order. |
| Lists @visibility SqlFormatter | SqlFormatter\Core\Syntax | Marks a clause's list separators while respecting nested expression delimiters. |
| Markers @visibility SqlFormatter | SqlFormatter\Core\Syntax | Attaches layout roles at the grammar node that owns each construct. |
| Rules @visibility SqlFormatter | SqlFormatter\Core\Syntax | Grammar-owned layout roles supplied by a dialect implementation. |
| DialectFactory @visibility SqlFormatter | SqlFormatter\Facade | Composes built-in formatting rules with an already configured parser. |
| Formatter public API | SqlFormatter\Facade | Formats SQL with the dialect, release, and lexical settings of a supplied parser. |
| Dialect @visibility SqlFormatter | SqlFormatter\Platform\MySql | Declares MySql grammar ownership and lexical formatting behavior. |
| Dialect @visibility SqlFormatter | SqlFormatter\Platform\PostgreSql | Declares PostgreSql grammar ownership and lexical formatting behavior. |
| Dialect @visibility SqlFormatter | SqlFormatter\Platform\Sqlite | Declares Sqlite grammar ownership and lexical formatting behavior. |