Reinclude tools

This commit is contained in:
2025-06-28 22:38:09 +03:00
parent 999ee66f9c
commit 0958ba20ee
17 changed files with 563 additions and 2 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;
}
}
}