Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

AsciiDocSyntaxNode

OfficeIMO.AsciiDoc

Namespace
OfficeIMO.AsciiDoc
Assembly
OfficeIMO.AsciiDoc
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Immutable node in the lossless AsciiDoc syntax tree.

Inheritance

  • object
  • AsciiDocSyntaxNode

Usage

Explore 37 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public IEnumerable<AsciiDocSyntaxNode> DescendantsAndSelf() #

Enumerates this node and descendants in depth-first order.

Returns

IEnumerable<AsciiDocSyntaxNode>
public AsciiDocSyntaxNode? FindDeepestNodeAtOffset(int offset) #

Finds the deepest node containing a source offset.

Parameters

offset int required

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; private set; } #

Parent node, or null for the document root.

public int IndexInParent { get; } #

Zero-based index within AsciiDocSyntaxNode.Parent, or -1 for the root.

public IReadOnlyList<AsciiDocSyntaxNode> Children { get; } #

Child syntax nodes.