Клинап

This commit is contained in:
2025-03-29 19:31:10 +03:00
parent 361b4cd3f6
commit 5cc53d72fd
18 changed files with 359 additions and 390 deletions
@@ -1,6 +1,6 @@
using System.Linq;
namespace mROA.CodegenTools
namespace mROA.Codegen.Tools.Reading
{
public class InsertSectionReader : LeadingTextSectionReader
{
@@ -12,12 +12,12 @@ namespace mROA.CodegenTools
public override ITemplateSection ExtractSection(ref int index, TemplateDocument document)
{
var from = index;
index = PassCaretToCloseSymbol();
var to = index - 1;
index = PassCaretToCloseSymbol();
var to = index - 1;
var tagText = GetTagValue(from, to);
var parts = tagText.Split(' ');
return new InsertTemplateSection(parts[0], document, parts.Skip(1).ToArray());
}
}