MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / JoinGroupAligned

Function JoinGroupAligned

pkg/util/pretty/util.go:91–93  ·  view source on GitHub ↗

JoinGroupAligned nests joined d with divider under head.

(head, divider string, d ...Doc)

Source from the content-addressed store, hash-verified

89
90// JoinGroupAligned nests joined d with divider under head.
91func JoinGroupAligned(head, divider string, d ...Doc) Doc {
92 return AlignUnder(Text(head), Join(divider, d...))
93}
94
95// NestUnder nests nested under head.
96func NestUnder(head, nested Doc) Doc {

Callers

nothing calls this directly

Calls 3

AlignUnderFunction · 0.85
TextFunction · 0.85
JoinFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…