API Reference
Class
AsciiDocSyntaxNode
Immutable node in the lossless AsciiDoc syntax tree.
Inheritance
- Object
- AsciiDocSyntaxNode
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property AsciiDocAdmonitionBlock.Syntax
- Property AsciiDocAnchorInline.Syntax
- Property AsciiDocAttributeEntry.Syntax
- Property AsciiDocAttributeReferenceInline.Syntax
- Property AsciiDocBlankLine.Syntax
- Property AsciiDocBlock.Syntax
- Property AsciiDocBlockAnchor.Syntax
- Property AsciiDocBlockAttributeList.Syntax
- Property AsciiDocBlockMacro.Syntax
- Property AsciiDocBlockTitle.Syntax
- Property AsciiDocCrossReferenceInline.Syntax
- Property AsciiDocDelimitedBlock.Syntax
- Property AsciiDocDescriptionListBlock.Syntax
- Property AsciiDocDescriptionListItem.Syntax
- Property AsciiDocFormattedInline.Syntax
- Property AsciiDocHeading.Syntax
- Property AsciiDocInline.Syntax
- Property AsciiDocInlineSequence.Syntax
- Property AsciiDocLineComment.Syntax
- Property AsciiDocListBlock.Syntax
- Property AsciiDocListContinuation.Syntax
- Property AsciiDocListItem.Syntax
- Property AsciiDocMacroInline.Syntax
- Property AsciiDocParagraph.Syntax
- Property AsciiDocPassthroughInline.Syntax
- Property AsciiDocRawBlock.Syntax
- Property AsciiDocStemInline.Syntax
- Method AsciiDocSyntaxNode.DescendantsAndSelf
- Method AsciiDocSyntaxNode.FindDeepestNodeAtOffset
- Property AsciiDocSyntaxNode.Children
- Property AsciiDocSyntaxNode.Parent
- Property AsciiDocSyntaxTree.Root
- Property AsciiDocTable.Syntax
- Property AsciiDocTableBlock.Syntax
- Property AsciiDocTableCell.Syntax
- Property AsciiDocTextInline.Syntax
Methods
public IEnumerable<AsciiDocSyntaxNode> DescendantsAndSelf() #Returns:
IEnumerable<AsciiDocSyntaxNode>Enumerates this node and descendants in depth-first order.
public AsciiDocSyntaxNode FindDeepestNodeAtOffset(Int32 offset) #Returns:
AsciiDocSyntaxNodeFinds the deepest node containing a source offset.
Parameters
- offset System.Int32
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public AsciiDocSyntaxKind Kind { get; } #Syntax kind.
public AsciiDocSourceSpan Span { get; } #Exact half-open source span.
public String OriginalText { get; } #Exact source characters covered by this node.
public AsciiDocSyntaxNode Parent { get; set; } #Parent node, or null for the document root.
public Int32 IndexInParent { get; } #Zero-based index within Parent, or -1 for the root.
public IReadOnlyList<AsciiDocSyntaxNode> Children { get; } #Child syntax nodes.