| Package | Description |
|---|---|
| gudusoft.gsqlparser.pp2.layout | |
| gudusoft.gsqlparser.pp2.layout.rules | |
| gudusoft.gsqlparser.pp2.render |
| Modifier and Type | Method and Description |
|---|---|
LayoutContext |
LayoutRulePipeline.run(LayoutContext context)
Apply every registered rule to
context, in order. |
LayoutContext |
LayoutContext.withBlockScope(BlockScopeDetector.BlockScopeResult b) |
LayoutContext |
LayoutContext.withClauseScope(ClauseScopeAnnotator.ClauseScopeResult c) |
LayoutContext |
LayoutContext.withDialect(DialectStrategy d) |
LayoutContext |
LayoutContext.withIslands(List<IslandScope> i) |
LayoutContext |
LayoutContext.withMultiWordMatches(List<MultiWordKeywordMerger.Match> m) |
LayoutContext |
LayoutContext.withSqlScope(SqlScopeDetector.SqlScopeResult s) |
| Modifier and Type | Method and Description |
|---|---|
void |
LayoutRule.apply(LayoutContext context)
Apply the rule, requesting layout decisions on the context.
|
LayoutContext |
LayoutRulePipeline.run(LayoutContext context)
Apply every registered rule to
context, in order. |
| Modifier and Type | Method and Description |
|---|---|
void |
JoinRules.apply(LayoutContext context) |
void |
AlignmentRules.apply(LayoutContext context) |
void |
CaseRules.apply(LayoutContext context) |
void |
ParenAndCommaRules.apply(LayoutContext context) |
void |
SetOperatorRules.apply(LayoutContext context) |
void |
SpacingRules.apply(LayoutContext context) |
void |
IndentRules.apply(LayoutContext context) |
void |
AndOrConcatRules.apply(LayoutContext context) |
void |
CaseModificationRules.apply(LayoutContext context) |
void |
ClauseLinebreakRules.apply(LayoutContext context) |
| Modifier and Type | Method and Description |
|---|---|
String |
Pp2OutputWriter.write(LayoutContext context)
Render the context's decisions to a string.
|