public string get_ascent_types() //タイプを遡って纏めて文字列化。listの先頭のみが対象 { string s = null; Action <VALUE> printtype = null; printtype = (v) => { if (v == null) { return; } if (s != null) { s += "-"; } s += YDEF.get_name(v.type); if (v.list != null && v.list.Count > 0) { printtype(v.list[0]); } }; printtype(this); return(s); }
public override string ToString() { string s = null; s += type.ToString() + ":" + YDEF.get_name(type); return(s + ":" + (o != null ? o.ToString() : "null")); }
// -- util -- private static string gn(object[] o) { return(YDEF.get_name(o)); }
public string get_type_name() { return(YDEF.get_name(type)); }