Парсер шаблонов готов

This commit is contained in:
micialware committed 2025-03-23 19:32:41 +03:00
1 parent e93a028bc4
commit b58bddc1a3
19 files changed
+352 -22

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
namespace mROA.CodegenTools
{
public class InnerTemplateSection : ITemplateSection, ITagged
{
private readonly string _tag;
public TemplateDocument Context { get; set; }
public int TargetLength => 0;
public string Tag => _tag;
public TemplateDocument InnerTemplate { get; }
public InnerTemplateSection(string tag, TemplateDocument innerTemplate, TemplateDocument context)
{
_tag = tag;
Context = context;
InnerTemplate = innerTemplate;
}
}
}