Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 57 | |
| 58 | // Format implements the NodeFormatter interface. |
| 59 | func (t *TypeName) Format(ctx *FmtCtx) { |
| 60 | t.ObjectNamePrefix.Format(ctx) |
| 61 | if t.ExplicitSchema || ctx.alwaysFormatTablePrefix() { |
| 62 | ctx.WriteByte('.') |
| 63 | } |
| 64 | ctx.FormatNode(&t.ObjectName) |
| 65 | } |
| 66 | |
| 67 | // String implements the Stringer interface. |
| 68 | func (t *TypeName) String() string { |
nothing calls this directly
no test coverage detected