Exemplo n.º 1
0
        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)");
        }
Exemplo n.º 2
0
 public static string ToString(PField pf)
 {
     return("PField(" + pf.name + ", " + pf.type + ", [" + PTag.ArrToString(ref pf.tags) + "])");
 }