Moving codegen tools to another project

This commit is contained in:
micialware committed 2025-06-03 12:09:32 +03:00
1 parent fa0565e699
commit 745def1365
27 files changed
+640 -22

No files matched your search

@@ -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;
}
}
}