MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Pretty

Function Pretty

pkg/sql/sem/tree/pretty.go:160–163  ·  view source on GitHub ↗

Pretty pretty prints stmt with default options.

(stmt NodeFormatter)

Source from the content-addressed store, hash-verified

158
159// Pretty pretty prints stmt with default options.
160func Pretty(stmt NodeFormatter) (string, error) {
161 cfg := DefaultPrettyCfg()
162 return cfg.Pretty(stmt)
163}
164
165// Pretty pretty prints stmt with specified options.
166func (p *PrettyCfg) Pretty(stmt NodeFormatter) (string, error) {

Callers

nothing calls this directly

Calls 2

DefaultPrettyCfgFunction · 0.85
PrettyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…