Reinclude tools

This commit is contained in:
micialware committed 2025-06-28 22:38:09 +03:00
1 parent 999ee66f9c
commit 0958ba20ee
17 files changed
+563 -2

No files matched your search

@@ -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);
}
}
}