| Class | Description |
|---|---|
| AlignmentRules |
When
GFmtOpt.alignAliasInSelectList is set (and the list is stacked,
TAlignStyle.AsStacked), aligns each stacked SELECT-list continuation
column under the first column (i.e. |
| AndOrConcatRules |
Breaks a predicate before each top-level
AND / OR so a long
WHERE/HAVING/ON condition lays out one conjunct per line: |
| CaseModificationRules |
Applies keyword / identifier / function-name case modification, reusing the
existing
GFmtOpt.caseKeywords, GFmtOpt.caseIdentifier, and
GFmtOpt.caseFuncname options. |
| CaseRules |
Lays out
CASE expressions vertically: a linebreak before each
WHEN, ELSE, and the closing END, keeping THEN
on its WHEN line. |
| ClauseLinebreakRules |
Requests a linebreak before each major clause keyword so a query lays out one
clause per line:
FROM, WHERE, GROUP BY, HAVING,
ORDER BY. |
| IndentRules |
Indents every line-starting token.
|
| JoinRules |
Lays out joins vertically: a linebreak before the start of each join phrase
(
JOIN, LEFT OUTER JOIN, INNER JOIN, CROSS APPLY,
...) and before each ON / USING that opens a join condition. |
| ParenAndCommaRules |
Stacks comma-separated list items (SELECT list, GROUP BY, ORDER BY) one per
line, placing the linebreak relative to the comma per
GFmtOpt.selectColumnlistComma. |
| SetOperatorRules |
Lays out set operators vertically: a linebreak before the operator keyword
(
UNION/INTERSECT/EXCEPT/MINUS) and before the
SELECT that follows the operator. |
| SpacingRules |
The base spacing rule: requests the number of blank columns before each token
so adjacent tokens are separated by a single space, with the usual tight
exceptions around parentheses, commas, periods, and semicolons.
|