Moving codegen tools to another project

This commit is contained in:
2025-06-03 12:09:32 +03:00
parent fa0565e699
commit 745def1365
27 changed files with 640 additions and 22 deletions
@@ -0,0 +1,30 @@
namespace mROA.CodegenTools
{
public class DefineTemplateSection : ITagged
{
public DefineTemplateSection(string storedText, string tag, TemplateDocument context)
{
StoredText = storedText;
Tag = tag;
Context = context;
}
public string StoredText { get; }
public TemplateDocument Context { get; set; }
public string Tag { get; }
public int TargetLength => StoredText.Length;
public object Clone()
{
return new DefineTemplateSection(StoredText, Tag, Context);
}
public override string ToString()
{
return StoredText;
}
}
}