KumiScript/parser/SpecialToken.cs
2024-01-25 23:37:51 -06:00

23 lines
No EOL
481 B
C#

using KumiScript.Interpreter;
namespace KumiScript.Reader
{
public class SpecialToken : Token
{
public readonly char _value;
public SpecialToken(char value)
{
_value = value;
}
public override Expression Accept(ITokenVisitor tokenVisitor)
{
return tokenVisitor.VisitSpecial(this);
}
public override string GetValue()
{
return _value.ToString();
}
}
}