MCPcopy Create free account
hub / github.com/dolthub/doltgresql / NewFmtCtx

Function NewFmtCtx

postgres/parser/sem/tree/format.go:275–277  ·  view source on GitHub ↗

NewFmtCtx creates a FmtCtx; only flags that don't require Annotations can be used.

(f FmtFlags)

Source from the content-addressed store, hash-verified

273// NewFmtCtx creates a FmtCtx; only flags that don't require Annotations
274// can be used.
275func NewFmtCtx(f FmtFlags) *FmtCtx {
276 return NewFmtCtxEx(f, nil)
277}
278
279// NewFmtCtxEx creates a FmtCtx.
280func NewFmtCtxEx(f FmtFlags, ann *Annotations) *FmtCtx {

Callers 7

StringWithFlagsMethod · 0.92
bareIdentifierFunction · 0.92
AutoQuoteIdentFunction · 0.92
FQStringMethod · 0.85
FQStringMethod · 0.85
AsStringWithFlagsFunction · 0.85

Calls 1

NewFmtCtxExFunction · 0.85

Tested by 2

AutoQuoteIdentFunction · 0.74