Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 159 | |
| 160 | // Format implements the NodeFormatter interface. |
| 161 | func (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 | } |
| 169 | func (ts *TableNames) String() string { return AsString(ts) } |
| 170 | |
| 171 | // TableIndexName refers to a table index. There are a few cases: |
nothing calls this directly
no test coverage detected