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

Method EncodeFlags

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

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

Callers 15

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

Calls 1

EncodeFlagsTypeAlias · 0.92

Tested by

no test coverage detected