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,20 @@
namespace mROA.CodegenTools.Reading
{
public class LinkSectionReader : LeadingTextSectionReader
{
public LinkSectionReader() : base("<!L")
{
}
public override ITemplateSection ExtractSection(ref int index, TemplateDocument document)
{
var from = index;
index = PassCaretToCloseSymbol();
var to = index - 1;
var tagText = GetTagValue(from, to);
return new LinkTemplateSection(tagText, document);
}
}
}