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
getFirstChild Get the first child.
getLastChild Get the last child.
getNextSibling Get ghe next sibling.
getParent Get the parent node.
getPreviousSibling Get the previous sibling.
getSyntaxFactory Get the SyntaxFactory.

Methods

NameDescription
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.
toString()Override ToString method.
writeTo(MarkdownTextWriter)Write to MarkdownTextWriter.
writeTo(TextWriter)Write nodes to text writer.

See Also