public override void CreateSyntax(Tree.Component owner, Tree.Syntax reference, CreateSyntaxResult result) { if (reference is MarkdownLexer.FileText referenceFileText) { var page = new Page((Document)owner, referenceFileText); result.CreateSyntaxTree(page, reference.NextAll); } }
public override void CreateSyntax(Tree.Component owner, Tree.Syntax reference, CreateSyntaxResult result) { if (reference is Storage.FileText referenceFileText) { var fileText = new FileText((Document)owner, referenceFileText); result.CreateSyntaxTree(fileText, reference.NextAll); } }
public override void CreateSyntax(Tree.Component owner, Tree.Syntax reference, CreateSyntaxResult result) { CreateSyntax(owner, (MarkdownLexer.Token)reference, result); }
public override void CreateSyntax(Tree.Component owner, Tree.Syntax reference, CreateSyntaxResult result) { CreateSyntax((FileText)owner, (Storage.Character)reference, result); }