tlang-interperter-cs/tlanglib/TInternalObject.cs

18 lines
392 B
C#
Raw Normal View History

2023-06-08 18:14:35 +00:00
using Newtonsoft.Json.Linq;
2023-03-09 19:40:14 +00:00
namespace tlang
{
public class TInternalObject : TObject
{
2023-06-08 18:14:35 +00:00
public override JToken AsToken()
{
return JValue.FromObject((object)null);
}
2023-03-09 23:57:16 +00:00
public override bool AsBoolean => true;
2023-03-09 19:40:14 +00:00
public TInternalObject(object val)
{
Object=val;
}
public object Object {get;set;}
}
}