blob: 2a66a0d6f98bb2907d1974214019e4ee57deea01 [file] [log] [blame]
//
// Copyright (c) 2010-2018 Antmicro
//
// This file is licensed under the MIT License.
// Full license text is available in 'licenses/MIT.txt'.
//
namespace Antmicro.Renode.PlatformDescription.Syntax
{
public sealed class StringValue : Value, ISimplestValue
{
public StringValue(string value)
{
Value = value;
}
public override string ToString()
{
return string.Format("[StringValue: '{0}']", Value);
}
public string Value { get; private set; }
public object ConvertedValue
{
get
{
return Value;
}
}
}
}