KumiScript/parser/EndOfFileToken.cs

21 lines
394 B
C#
Raw Normal View History

2024-01-26 05:37:51 +00:00
using KumiScript.Reader;
namespace KumiScript.Interpreter
{
public class EndOfFileToken : Token
{
public EndOfFileToken()
{
}
public override Expression Accept(ITokenVisitor tokenVisitor)
{
return tokenVisitor.VisitEoF(this);
}
public override string GetValue()
{
return "EOF";
}
}
}