Method
Format
(buf *TrackedBuffer, d format.Dialect)
Source from the content-addressed store, hash-verified
| 13 | } |
| 14 | |
| 15 | func (n *A_Indices) Format(buf *TrackedBuffer, d format.Dialect) { |
| 16 | if n == nil { |
| 17 | return |
| 18 | } |
| 19 | buf.WriteString("[") |
| 20 | if n.IsSlice { |
| 21 | if set(n.Lidx) { |
| 22 | buf.astFormat(n.Lidx, d) |
| 23 | } |
| 24 | buf.WriteString(":") |
| 25 | if set(n.Uidx) { |
| 26 | buf.astFormat(n.Uidx, d) |
| 27 | } |
| 28 | } else { |
| 29 | buf.astFormat(n.Uidx, d) |
| 30 | } |
| 31 | buf.WriteString("]") |
| 32 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected