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

Method Break

parser/format.go:91–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func (f *Formatter) Break() {
92 if f.mode == FormatModeBeautify {
93 f.NewLine()
94 return
95 }
96 f.WriteByte(whitespace)
97}
98
99func (f *Formatter) Indent() {
100 f.indentLevel++

Callers 15

FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80
FormatSQLMethod · 0.80

Calls 2

NewLineMethod · 0.95
WriteByteMethod · 0.95

Tested by

no test coverage detected