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

Method Format

postgres/parser/sem/tree/table_name.go:161–168  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

159
160// Format implements the NodeFormatter interface.
161func (ts *TableNames) Format(ctx *FmtCtx) {
162 sep := ""
163 for i := range *ts {
164 ctx.WriteString(sep)
165 ctx.FormatNode(&(*ts)[i])
166 sep = ", "
167 }
168}
169func (ts *TableNames) String() string { return AsString(ts) }
170
171// TableIndexName refers to a table index. There are a few cases:

Callers

nothing calls this directly

Calls 2

WriteStringMethod · 0.80
FormatNodeMethod · 0.80

Tested by

no test coverage detected