port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using System.Diagnostics;
using System.Text;
using Intromat.Model.Compiler;
namespace Intromat.Nodes.Code
{
public class StringLiteralValue : LiteralValueBase<string?>
{
public override string? PreviewValue => Value;
public override void Compile(CompilerContext context, StringBuilder sb)
{
sb.Append($"\"{Value}\"");
}
public override string Evaluate()
{
return Value ?? string.Empty;
}
}
}