Including tools into codegen

This commit is contained in:
2025-06-27 16:12:38 +03:00
parent 745def1365
commit f31ddf1604
22 changed files with 78 additions and 574 deletions
@@ -1,30 +0,0 @@
namespace mROA.Codegen.Tools
{
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;
}
}
}