throws ParseException, IOException {
ToString ts = (ToString) n.getOpt("ToString");
List<FmtItem> list;
if (ts != null) {
list = ts.getFormat();
n.checkFormatList(ts.lineno(), list);
} else if (isExcept)
list = n.mkFormatList(true, ((Except) n).hasExtends());
else
list = n.mkFormatList(false, ((Struct) n).hasExtends());