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

Function DefaultPrettyCfg

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

DefaultPrettyCfg returns a PrettyCfg with the default configuration.

()

Source from the content-addressed store, hash-verified

67// DefaultPrettyCfg returns a PrettyCfg with the default
68// configuration.
69func DefaultPrettyCfg() PrettyCfg {
70 return PrettyCfg{
71 LineWidth: DefaultLineWidth,
72 Simplify: true,
73 TabWidth: 4,
74 UseTabs: true,
75 Align: PrettyNoAlign, // TODO(knz): I really want this to be AlignAndDeindent
76 }
77}
78
79// PrettyAlignMode directs which alignment mode to use.
80//

Callers 2

TestParserFunction · 0.92
PrettyFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestParserFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…