All items 37

Interfaces 1§

Dialect @visibility SqlFormatterSqlFormatter\CoreSupplies grammar and lexical behavior to the formatting engine.

Classes 35§

FormatOptions public APISqlFormatter\CoreImmutable layout choices shared by all dialects.
Formatter @visibility SqlFormatterSqlFormatter\CoreFormats and verifies SQL using injected parsing and formatting contracts.
FormattingException public APISqlFormatter\CoreA layout failed verification against the original concrete syntax tree.
Document @visibility SqlFormatterSqlFormatter\Core\CompactBuilds a canonical token stream without changing the parser's immutable tree.
Grouping @visibility SqlFormatterSqlFormatter\Core\CompactDistinguishes expression grouping from row constructors, subqueries, and argument lists.
Keywords @visibility SqlFormatterSqlFormatter\Core\CompactNormalizes terminals according to supplied identifier and keyword declarations.
Reductions @visibility SqlFormatterSqlFormatter\Core\CompactCollects grammar-owned reductions that must be validated by reparsing.
Renderer @visibility SqlFormatterSqlFormatter\Core\CompactRenders and verifies compact SQL using a dialect-specific canonical token stream.
Rules @visibility SqlFormatterSqlFormatter\Core\CompactRecognizes optional syntax by its grammar owner rather than neighboring words.
Settings @visibility SqlFormatterSqlFormatter\Core\CompactGrammar-specific canonicalization inputs, independent of parser selection.
Shape @visibility SqlFormatterSqlFormatter\Core\CompactCompares canonical syntax while retaining operand nesting and operator association.
Spacing @visibility SqlFormatterSqlFormatter\Core\CompactUses the configured lexer to distinguish required separators from layout whitespace.
Trivia @visibility SqlFormatterSqlFormatter\Core\CompactRemoves ordinary comments while retaining directives and executable comment bodies.
Visitor @visibility SqlFormatterSqlFormatter\Core\CompactApplies canonical spellings and optional grammar rules to a lossless syntax tree.
Block @visibility SqlFormatterSqlFormatter\Core\LayoutRenders a nested token range with independent clause alignment.
Elements @visibility SqlFormatterSqlFormatter\Core\LayoutEmits expressions and delegates nested query and CASE blocks to the renderer.
Headers @visibility SqlFormatterSqlFormatter\Core\LayoutMeasures and emits headers without looking inside nested query blocks.
Policy @visibility SqlFormatterSqlFormatter\Core\LayoutWhitespace and alignment decisions for one nested block.
Renderer @visibility SqlFormatterSqlFormatter\Core\LayoutApplies one layout to grammar-derived clauses, lists, and nested blocks.
Spacing @visibility SqlFormatterSqlFormatter\Core\LayoutSeparates tokens without rewriting their contents or merging adjacent operators.
Writer @visibility SqlFormatterSqlFormatter\Core\LayoutWrites chosen whitespace while retaining comment-bearing trivia verbatim.
Analyzer @visibility SqlFormatterSqlFormatter\Core\SyntaxWalks the CST once; the grammar distinguishes list commas and boolean operators.
Brackets @visibility SqlFormatterSqlFormatter\Core\SyntaxPairs parentheses and identifies nested query blocks.
Document @visibility SqlFormatterSqlFormatter\Core\SyntaxTokens and grammar-derived layout marks, indexed in source order.
Expressions @visibility SqlFormatterSqlFormatter\Core\SyntaxDistinguishes boolean conjunctions, range predicates, signs, and CASE expressions.
Fingerprint @visibility SqlFormatterSqlFormatter\Core\SyntaxCompares grammar derivations and exact token spellings independently of whitespace.
Headers @visibility SqlFormatterSqlFormatter\Core\SyntaxRecognizes complete multiword clause headers in source order.
Lists @visibility SqlFormatterSqlFormatter\Core\SyntaxMarks a clause's list separators while respecting nested expression delimiters.
Markers @visibility SqlFormatterSqlFormatter\Core\SyntaxAttaches layout roles at the grammar node that owns each construct.
Rules @visibility SqlFormatterSqlFormatter\Core\SyntaxGrammar-owned layout roles supplied by a dialect implementation.
DialectFactory @visibility SqlFormatterSqlFormatter\FacadeComposes built-in formatting rules with an already configured parser.
Formatter public APISqlFormatter\FacadeFormats SQL with the dialect, release, and lexical settings of a supplied parser.
Dialect @visibility SqlFormatterSqlFormatter\Platform\MySqlDeclares MySql grammar ownership and lexical formatting behavior.
Dialect @visibility SqlFormatterSqlFormatter\Platform\PostgreSqlDeclares PostgreSql grammar ownership and lexical formatting behavior.
Dialect @visibility SqlFormatterSqlFormatter\Platform\SqliteDeclares Sqlite grammar ownership and lexical formatting behavior.

Enums 1§

Style public APISqlFormatter\CoreCompact canonicalizes SQL; the three multiline layouts preserve token spelling.