(indent int, open, close string, tv scode.Bytes)
| 371 | } |
| 372 | |
| 373 | func (f *Formatter) formatVectorTypeValue(indent int, open, close string, tv scode.Bytes) scode.Bytes { |
| 374 | f.build(open) |
| 375 | if n, _ := super.DecodeLength(tv); n < super.IDTypeComplex { |
| 376 | tv = f.formatTypeValue(indent, tv, false) |
| 377 | f.build(close) |
| 378 | return tv |
| 379 | } |
| 380 | indent += f.tab |
| 381 | f.build(f.newline) |
| 382 | f.indent(indent, "") |
| 383 | tv = f.formatTypeValue(indent, tv, false) |
| 384 | f.build(f.newline) |
| 385 | f.indent(indent-f.tab, close) |
| 386 | return tv |
| 387 | } |
| 388 | |
| 389 | func (f *Formatter) truncTypeValueErr() { |
| 390 | f.build("<ERR truncated type value>") |
no test coverage detected