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

Method HasFlags

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

HasFlags returns true iff the given flags are set in the formatter context.

(f FmtFlags)

Source from the content-addressed store, hash-verified

319
320// HasFlags returns true iff the given flags are set in the formatter context.
321func (ctx *FmtCtx) HasFlags(f FmtFlags) bool {
322 return ctx.flags.HasFlags(f)
323}
324
325// Printf calls fmt.Fprintf on the linked bytes.Buffer. It is provided
326// for convenience, to avoid having to call fmt.Fprintf(&ctx.Buffer, ...).

Callers 15

FormatTypeReferenceMethod · 0.95
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45
FormatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected