Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AfterShip/clickhouse-sql-parser
/ WriteString
Method
WriteString
parser/format.go:57–61 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
55
}
56
57
func
(f *Formatter) WriteString(s string) {
58
for
i := 0; i < len(s); i++ {
59
f.WriteByte(s[i])
60
}
61
}
62
63
func
(f *Formatter) WriteByte(b byte) {
64
if
f.mode == FormatModeBeautify {
Callers
15
TestParser_Format
Function · 0.80
TestParser_FormatBeautify
Function · 0.80
validFormatSQL
Function · 0.80
TestVisitor_Identical
Function · 0.80
writeIndentIfNeeded
Method · 0.80
FormatSQL
Method · 0.80
FormatSQL
Method · 0.80
FormatSQL
Method · 0.80
FormatSQL
Method · 0.80
FormatSQL
Method · 0.80
FormatSQL
Method · 0.80
FormatSQL
Method · 0.80
Calls
1
WriteByte
Method · 0.95
Tested by
4
TestParser_Format
Function · 0.64
TestParser_FormatBeautify
Function · 0.64
validFormatSQL
Function · 0.64
TestVisitor_Identical
Function · 0.64