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

Method HasFlags

pkg/sql/sem/tree/format.go:484–486  ·  view source on GitHub ↗

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

(f FmtFlags)

Source from the content-addressed store, hash-verified

482// HasFlags returns true iff all of the given flags are set in the formatter
483// context.
484func (ctx *FmtCtx) HasFlags(f FmtFlags) bool {
485 return ctx.flags.HasFlags(f)
486}
487
488// HasAnyFlags returns true iff any of the given flags are set in the formatter
489// context.

Callers 15

FormatTypeReferenceMethod · 0.95
FormatStringConstantMethod · 0.95
formatStringFunction · 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