MarkdownSyntaxNode Class

MarkdownSyntaxNode class

Base implementation of the MarkdownSyntaxNode.

public abstract class MarkdownSyntaxNode : IWritable

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.

Methods

NameDescription
virtual Accept(MarkdownSyntaxVisitor)Accept the visitor.
AppendChild(MarkdownSyntaxNode)Append child node.
ChildNodes()Get the child nodes collection.
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.
override ToString()Override ToString method.
virtual WriteTo(MarkdownTextWriter)Write to MarkdownTextWriter.
WriteTo(TextWriter)Write nodes to text writer.

See Also