MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Stack

Function Stack

postgres/parser/pretty/util.go:100–102  ·  view source on GitHub ↗

Stack concats Docs with a Line between each.

(d ...Doc)

Source from the content-addressed store, hash-verified

98
99// Stack concats Docs with a Line between each.
100func Stack(d ...Doc) Doc {
101 return Fold(ConcatLine, d...)
102}
103
104// Fillwords fills lines with as many docs as will fit joined with a space or line.
105func Fillwords(d ...Doc) Doc {

Callers 11

docRowMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docRowMethod · 0.92
TableFunction · 0.70

Calls 1

FoldFunction · 0.85

Tested by

no test coverage detected