MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / doc

Method doc

pkg/sql/sem/tree/pretty.go:1357–1364  ·  view source on GitHub ↗
(p *PrettyCfg)

Source from the content-addressed store, hash-verified

1355}
1356
1357func (node *IfExpr) doc(p *PrettyCfg) pretty.Doc {
1358 return p.bracketKeyword("IF", "(",
1359 p.commaSeparated(
1360 p.Doc(node.Cond),
1361 p.Doc(node.True),
1362 p.Doc(node.Else),
1363 ), ")", "")
1364}
1365
1366func (node *NullIfExpr) doc(p *PrettyCfg) pretty.Doc {
1367 return p.bracketKeyword("NULLIF", "(",

Callers

nothing calls this directly

Calls 3

bracketKeywordMethod · 0.80
commaSeparatedMethod · 0.80
DocMethod · 0.80

Tested by

no test coverage detected