MarkdownSyntaxToken Class

MarkdownSyntaxToken class

Represent the Markdown Syntax Token.

public sealed class MarkdownSyntaxToken : MarkdownSyntaxNode

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.
getSource Get the source text.
getSpan Get the span.
getText Get the text content of span.

Methods

NameDescription
accept(MarkdownSyntaxVisitor)Accept the visitor.
appendChild(MarkdownSyntaxNode)Append child node.
childNodes()Get the child nodes collection.
getFullText()Defines the interface for get the full text.
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.
toString()Override ToString method.
writeTo(MarkdownTextWriter)Write to MarkdownTextWriter.
writeTo(TextWriter)Write nodes to text writer.

See Also