public static string ToString(PStruct ps) { string s = "PStruct(" + ps.name + ", [" + PTag.ArrToString(ref ps.tags) + "], " + ps.inheritance + ", with fields: "; foreach (PField pf in ps.fields) { s += "\n " + PField.ToString(pf); } return(s + "\n)"); }
public static string ToString(PField pf) { return("PField(" + pf.name + ", " + pf.type + ", [" + PTag.ArrToString(ref pf.tags) + "])"); }