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

Method EncodeFlags

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

EncodeFlags returns the subset of the flags that are also lex encode flags.

()

Source from the content-addressed store, hash-verified

50
51// EncodeFlags returns the subset of the flags that are also lex encode flags.
52func (f FmtFlags) EncodeFlags() lex.EncodeFlags {
53 return lex.EncodeFlags(f) & (lex.EncFirstFreeFlagBit - 1)
54}
55
56// Basic bit definitions for the FmtFlags bitmask.
57const (

Callers 7

FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80

Calls 1

EncodeFlagsTypeAlias · 0.92

Tested by

no test coverage detected