MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / EncodeFlags

Method EncodeFlags

pkg/sql/sem/tree/format.go:39–41  ·  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

37
38// EncodeFlags returns the subset of the flags that are also lex encode flags.
39func (f FmtFlags) EncodeFlags() lex.EncodeFlags {
40 return lex.EncodeFlags(f) & (lex.EncFirstFreeFlagBit - 1)
41}
42
43// Basic bit definitions for the FmtFlags bitmask.
44const (

Callers 10

FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
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