KumiScript/interpreter/Symbol.cs
2024-01-25 23:37:51 -06:00

21 lines
No EOL
373 B
C#

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;
}
}
}