MarkdownSyntaxTree Class

MarkdownSyntaxTree class

Represent the Markdown Syntax Tree.

public class MarkdownSyntaxTree : MarkdownSyntaxNode

Constructors

NameDescription
MarkdownSyntaxTree()Created the MarkdownSyntaxTree.
MarkdownSyntaxTree(Configuration)Creates the MarkdownSyntaxTree

Properties

NameDescription
FirstChild { get; }Get the first child.
LastChild { get; }Get the last child.
NextSibling { get; }Get ghe next sibling.
Parent { get; }Get the parent node.
PreviousSibling { get; }Get the previous sibling.
SyntaxFactory { get; }Get the SyntaxFactory.

Methods

NameDescription
override Accept(MarkdownSyntaxVisitor)Defines the interface for visiting nodes of the syntax tree.
AppendChild(MarkdownSyntaxNode)Append child node.
ChildNodes()Get the child nodes collection.
CreateNodeIterator(MarkdownSyntaxNode)Defines the interface for create of the node iterator.
CreateNodeIterator(MarkdownSyntaxNodeFilter)Defines the interface for create of the node iterator.
CreateNodeIterator(MarkdownSyntaxNode, MarkdownSyntaxNodeFilter)Defines the interface for create of the node iterator.
CreateTreeWalker(MarkdownSyntaxNode)Defines the interface for create the tree walker.
CreateTreeWalker(MarkdownSyntaxNodeFilter)Defines the interface for create the tree walker.
CreateTreeWalker(MarkdownSyntaxNode, MarkdownSyntaxNodeFilter)Defines the interface for create the tree walker.
GetLeadingTrivia()Get the leading trivia.
GetSyntaxTree()Get the syntax tree.
GetTrailingTrivia()Get the Trailing trivia.
InsertBefore(MarkdownSyntaxNode, MarkdownSyntaxNode)Insert before node.
RemoveChild(MarkdownSyntaxNode)Remove the child.
ReplaceChild(MarkdownSyntaxNode, MarkdownSyntaxNode)Replace the child node.
Save(Stream)Saves the syntax tree to the specified stream.
Save(string)Saves the syntax tree to the specified path.
Save(TextWriter)Saves the syntax tree to the specified writer.
override ToString()Override ToString method.
virtual WriteTo(MarkdownTextWriter)Write to MarkdownTextWriter.
WriteTo(TextWriter)Write nodes to text writer.

See Also