예제 #1
0
 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);
     }
 }
예제 #2
0
 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);
     }
 }
예제 #3
0
 public override void CreateSyntax(Tree.Component owner, Tree.Syntax reference, CreateSyntaxResult result)
 {
     CreateSyntax(owner, (MarkdownLexer.Token)reference, result);
 }
예제 #4
0
 public override void CreateSyntax(Tree.Component owner, Tree.Syntax reference, CreateSyntaxResult result)
 {
     CreateSyntax((FileText)owner, (Storage.Character)reference, result);
 }