| 380 | } |
| 381 | |
| 382 | void VM::StructToString(ostringstream &ss, PrintPrefs &pp, const TypeInfo &ti, const Value *elems) { |
| 383 | ss << ReverseLookupType(ti.structidx); |
| 384 | if (pp.indent) ss << ' '; |
| 385 | VectorOrObjectToString(*this, ss, pp, '{', '}', ti.len, 1, elems, false, |
| 386 | [&](intp i) -> const TypeInfo & { |
| 387 | return GetTypeInfo(ti.GetElemOrParent(i)); |
| 388 | } |
| 389 | ); |
| 390 | } |
| 391 | |
| 392 | } // namespace lobster |
no test coverage detected