22 lines
488 B
C#
22 lines
488 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|