Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AsciiDocSyntaxNode

Namespace OfficeIMO.AsciiDoc
Assembly OfficeIMO.AsciiDoc
Modifiers sealed

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.

Methods

public IEnumerable<AsciiDocSyntaxNode> DescendantsAndSelf() #
Returns: IEnumerable<AsciiDocSyntaxNode>

Enumerates this node and descendants in depth-first order.

public AsciiDocSyntaxNode FindDeepestNodeAtOffset(Int32 offset) #
Returns: AsciiDocSyntaxNode

Finds the deepest node containing a source offset.

Parameters

offset System.Int32 requiredposition: 0

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.