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
+24
View File
@@ -0,0 +1,24 @@
namespace mROA.CodegenTools
{
public class InnerTemplateSection : ITemplateSection, ITagged
{
public InnerTemplateSection(string tag, TemplateDocument innerTemplate, TemplateDocument context)
{
Tag = tag;
Context = context;
InnerTemplate = innerTemplate;
}
public TemplateDocument InnerTemplate { get; }
public string Tag { get; }
public TemplateDocument Context { get; set; }
public int TargetLength => 0;
public object Clone()
{
return new InnerTemplateSection(Tag, InnerTemplate, Context);
}
}
}