Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AfterShip/clickhouse-sql-parser
/ WriteExpr
Method
WriteExpr
parser/format.go:77–82 ·
view source on GitHub ↗
(expr Expr)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
(f *Formatter) WriteExpr(expr Expr) {
78
if
expr == nil {
79
return
80
}
81
expr.FormatSQL(f)
82
}
83
84
func
(f *Formatter) NewLine() {
85
if
f.mode != FormatModeBeautify {
Callers
15
main
Function · 0.95
TestParser_FormatBeautify
Function · 0.95
Format
Function · 0.95
TestFormatter_WithIndent_CustomIndentation
Function · 0.80
writeLogicalOperand
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
FormatSQL
Method · 0.65
Tested by
2
TestParser_FormatBeautify
Function · 0.76
TestFormatter_WithIndent_CustomIndentation
Function · 0.64