1 //
2 // Copyright (c) 2010-2018 Antmicro
3 //
4 // This file is licensed under the MIT License.
5 // Full license text is available in 'licenses/MIT.txt'.
6 //
7 
8 namespace Antmicro.Renode.PlatformDescription.Syntax
9 {
10     public sealed class StringValue : Value, ISimplestValue
11     {
StringValue(string value)12         public StringValue(string value)
13         {
14             Value = value;
15         }
16 
ToString()17         public override string ToString()
18         {
19             return string.Format("[StringValue: '{0}']", Value);
20         }
21 
22         public string Value { get; private set; }
23 
24         public object ConvertedValue
25         {
26             get
27             {
28                 return Value;
29             }
30         }
31     }
32 }
33