rabidus-test/Assets/Plugins/QFSW/Quantum Console/Source/Scripts/Parsing/Parsers/StringParser.cs

15 lines
331 B
C#
Raw Normal View History

2023-08-22 15:41:12 +03:00
namespace QFSW.QC.Parsers
{
public class StringParser : BasicCachedQcParser<string>
{
public override int Priority => int.MaxValue;
public override string Parse(string value)
{
return value
.ReduceScope('"', '"')
.UnescapeText('"');
}
}
}