23 lines
No EOL
461 B
C#
23 lines
No EOL
461 B
C#
using KumiScript.Interpreter;
|
|
|
|
namespace KumiScript.Reader
|
|
{
|
|
public class StringToken : AtomToken
|
|
{
|
|
readonly string _value;
|
|
public StringToken(string value) : base (value)
|
|
{
|
|
_value = value;
|
|
}
|
|
|
|
public override Expression ToExpression()
|
|
{
|
|
return new StringExpression(_value);
|
|
}
|
|
|
|
public override string GetValue()
|
|
{
|
|
return _value;
|
|
}
|
|
}
|
|
} |