MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / NewLine

Method NewLine

parser/format.go:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func (f *Formatter) NewLine() {
85 if f.mode != FormatModeBeautify {
86 return
87 }
88 f.WriteByte(newline)
89}
90
91func (f *Formatter) Break() {
92 if f.mode == FormatModeBeautify {

Callers 4

BreakMethod · 0.95
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80

Calls 1

WriteByteMethod · 0.95

Tested by

no test coverage detected