Успешно переписаны не полностью два файла
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace mROA.CodegenTools
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user