Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
namespace OpenScadGraphEditor.Nodes
{
public class StringLiteral : LiteralBase
{
public StringLiteral(string value)
{
Value = value;
}
public string Value { get; set; }
public override string RenderedValue => "\"" + Value.Replace("\\", "\\\\").Replace("\"", "\\\"") + "\"";
public override string SerializedValue
{
get => Value;
set => Value = value;
}
public override LiteralType LiteralType => LiteralType.String;
}
}7192f5216This file is pinned to the selected release. Download the original to open it in your design tool.