KumiScript/reader/FakeExpression.cs

22 lines
488 B
C#
Raw Normal View History

using KumiScript.Interpreter;
namespace KumiScript.Reader
{
public class FakeExpression : Expression
{
static FakeExpression? _instance;
private FakeExpression()
{
_instance = this;
}
public static FakeExpression GetInstance()
{
if (_instance is null)
return new FakeExpression();
return _instance;
}
}
}