TextSyntaxNode Class

TextSyntaxNode class

Implemented the text syntax node.

public class TextSyntaxNode : InlineSyntaxNode

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.
virtual Source { get; }Return the source text.
virtual Span { get; }Defines the interface for get span.
Value { get; }Defines the property for get string value.

Methods

NameDescription
override Accept(MarkdownSyntaxVisitor)Defines the interface for accept 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