KumiScript/interpreter/Symbol.cs

21 lines
373 B
C#
Raw Normal View History

2024-01-26 05:37:51 +00:00
namespace KumiScript.Interpreter
{
public class Symbol
{
readonly string _name;
public Symbol(string name)
{
_name = name;
}
public bool Equals(Symbol s)
{
return s.ToString() == _name;
}
public override string ToString()
{
return _name;
}
}
}