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

Method Format

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

Format performs pretty-printing towards a bytes buffer. The flags member of ctx influences the results. Most callers should use FormatNode instead.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

507 // Format performs pretty-printing towards a bytes buffer. The flags member
508 // of ctx influences the results. Most callers should use FormatNode instead.
509 Format(ctx *FmtCtx)
510}
511
512// FormatName formats a string as a name.

Callers 15

FormatMethod · 0.65
formatExpressionFunction · 0.65
StringWithFlagsMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65

Implementers 15

SQLUsernamepkg/security/username/username.go
withConstraintNamepkg/sql/pgwire/pgerror/constraint_name
Errorpkg/sql/pgwire/pgerror/errors.pb.go
withCandidateCodepkg/sql/pgwire/pgerror/with_candidate_
withSeveritypkg/sql/pgwire/pgerror/severity.go
SpanExpressionpkg/sql/inverted/expression.go
HelpMessagepkg/sql/parser/help.go
Blockpkg/sql/sem/plpgsqltree/statements.go
Declarationpkg/sql/sem/plpgsqltree/statements.go
CursorDeclarationpkg/sql/sem/plpgsqltree/statements.go
Assignmentpkg/sql/sem/plpgsqltree/statements.go
Ifpkg/sql/sem/plpgsqltree/statements.go

Calls

no outgoing calls

Tested by

no test coverage detected