private bool ToString(ref TValue o) { if (o.TtIsString()) { return(true); } return(V_ToString(ref o)); }
private HNode GetHashNode(ref TValue v) { if (IsPositiveInteger(ref v)) { return(GetHashNode((int)v.NValue)); } if (v.TtIsString()) { return(GetHashNode(v.SValue().GetHashCode())); } return(GetHashNode(v.GetHashCode())); }
public override string ToString() { string detail; if (V.TtIsString()) { detail = V.SValue().Replace("\n", "»"); } else { detail = "..."; } return(string.Format("StkId - {0} - {1}", LuaState.TypeName((LuaType)V.Tt), detail)); }
private HNode GetHashNode(ref TValue v) { if(IsPositiveInteger(ref v)) { return GetHashNode((int)v.NValue); } if(v.TtIsString()) { return GetHashNode(v.SValue().GetHashCode()); } return GetHashNode(v.GetHashCode()); }
private bool ToString(ref TValue o) { if(o.TtIsString()) { return true; } return V_ToString(ref o); }