Esempio n. 1
0
 public override string ToString()
 {
     if (type != null)
     {
         return(type.ToString());
     }
     return(stype.ToString());
 }
Esempio n. 2
0
 public string DebugString()
 {
     if (m_type != null)
     {
         return("<" + m_type.ToString() + ">" + (_isNum ? _num : _obj));
     }
     else if (m_stype != null)
     {
         return("<" + m_stype.ToString() + ">" + _obj);
     }
     return("<null>" + _obj);
 }
Esempio n. 3
0
        public static IType GetITypeByClassCQ(Class_CQuark stype)
        {
            if (stype == null)
            {
                return(str2itype["null"]);
            }

            IType ret = null;

            if (!ccq2itype.TryGetValue(stype, out ret))
            {
                DebugUtil.LogWarning("(Class_CQuark)类型未注册,将自动注册一份匿名:" + stype.ToString());
            }
            return(ret);
        }